Skip to content

Commit

Permalink
Fixed default enabled project showing as disabled (#195)
Browse files Browse the repository at this point in the history
  • Loading branch information
LauJosefsen authored Jan 24, 2024
1 parent ba0a17b commit e920fef
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
8 changes: 0 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,6 @@ Tool to help keep a range of projects up to date with git version control, and a

# Installation

## Install using bun

Requires [bun](https://bun.sh/) version 1.0.0 or higher

```
bun install -g @cego/gitte
```

## Install using npm

Requires npm and node version 16 or higher.
Expand Down
Binary file removed bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion src/toggle_projects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export function logProjectStatus(cfg: Config): void {

Object.entries(cfg.projects).forEach(([projectName, project]) => {
let enabled = !project.defaultDisabled;
if (toggledProjects[projectName]) {
if (projectName in toggledProjects) {
enabled = toggledProjects[projectName];
}

Expand Down

0 comments on commit e920fef

Please sign in to comment.