feature/IO-3066-1-scaffolding: Minor cleanup
This commit is contained in:
@@ -38,8 +38,7 @@ const SettingsWatchedFilePathsRemove = async (
|
||||
};
|
||||
|
||||
const SettingsWatchedFilePathsGet = async (): Promise<string[]> => {
|
||||
const filepaths: string[] = Store.get("settings.filepaths") || [];
|
||||
return filepaths;
|
||||
return Store.get("settings.filepaths") || [];
|
||||
};
|
||||
|
||||
const SettingsWatcherPollingGet = async (): Promise<{
|
||||
@@ -66,7 +65,7 @@ const SettingsWatcherPollingSet = async (
|
||||
|
||||
//Restart the watcher with these new settings.
|
||||
await StopWatcher();
|
||||
StartWatcher();
|
||||
await StartWatcher();
|
||||
|
||||
return { enabled, interval };
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user