Skip to content

Commit

Permalink
Update cli.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Half-Shot authored Aug 28, 2020
1 parent 0d2b002 commit ee7b75c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/components/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,6 @@ export class Cli<ConfigType extends Record<string, unknown>> {
log.info("Got SIGHUP, reloading config file");
try {
const newConfig = this.loadConfig(configFilename);
// onConfigChanged is checked above, but for Typescript's sake.
if (this.opts.onConfigChanged) {
this.opts.onConfigChanged(newConfig);
}
Expand Down

0 comments on commit ee7b75c

Please sign in to comment.