Skip to content

Commit

Permalink
Add default timeout to loaded files (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
microsoftly committed Jan 19, 2018
1 parent 04f6abe commit f34cfd5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ export function getConfig(): IConfig {

if (configFileExists) {
configInternal = JSON.parse(fs.readFileSync(configFilePath, { encoding: 'utf8' }));
configInternal.timeout = configInternal.timeout || NO_TIMEOUT;
}

configInternal.messageFilters = [];
Expand Down

0 comments on commit f34cfd5

Please sign in to comment.