Skip to content

Commit 48fd753

Browse files
committed
style: fix config.js
1 parent a703003 commit 48fd753

File tree

2 files changed

+7
-22
lines changed

2 files changed

+7
-22
lines changed

lib/config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ module.exports = class Config {
1919
this.detectiveConfig = options.detective || options.detectiveConfig || {};
2020
this.tsConfig = options.tsConfig;
2121
this.tsConfigPath = options.tsConfigPath;
22-
this.tsConfigPath = options.tsConfigPath
22+
this.tsConfigPath = options.tsConfigPath;
2323
this.noTypeDefinitions = options.noTypeDefinitions;
2424
this.filter = options.filter;
2525

@@ -32,7 +32,7 @@ module.exports = class Config {
3232
const ts = require('typescript');
3333
const tsParsedConfig = ts.readJsonConfigFile(this.tsConfig, ts.sys.readFile);
3434
const obj = ts.parseJsonSourceFileConfigFileContent(tsParsedConfig, ts.sys, path.dirname(this.tsConfig));
35-
this.tsConfigPath = this.tsConfigPath || this.tsConfig
35+
this.tsConfigPath = this.tsConfigPath || this.tsConfig;
3636
this.tsConfig = obj.raw;
3737
}
3838

@@ -44,7 +44,7 @@ module.exports = class Config {
4444
debug('visited: ', this.visited);
4545
}
4646

47-
clone () {
47+
clone() {
4848
return new Config(this);
4949
}
5050
};

package-lock.json

Lines changed: 4 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)