Skip to content

Commit

Permalink
remove default WORKING_PROJECT settings
Browse files Browse the repository at this point in the history
Closes #181
  • Loading branch information
gioboa committed Mar 2, 2023
1 parent 3853cbd commit fbd8c2c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/services/configuration.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export default class ConfigurationService {
}

// used for get only one setting
public get(entry: string, fallbackValue?: any): any {
public get(entry: string, fallbackValue = ''): any {
if (!this.settings) {
return fallbackValue;
}
Expand Down
1 change: 0 additions & 1 deletion src/services/store.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ export default class StoreService {
// vscode.window.showWarningMessage("Working project isn't set.");
}
} catch (err) {
configuration.set(CONFIG.WORKING_PROJECT, '');
setTimeout(() => {
statusBar.updateWorkingProjectItem('', true);
}, 1000);
Expand Down

0 comments on commit fbd8c2c

Please sign in to comment.