Skip to content

Commit

Permalink
fix #38 - append slash to result dir
Browse files Browse the repository at this point in the history
  • Loading branch information
dogboydog committed Aug 23, 2018
1 parent 3034d7b commit 14dccf1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/processor/Config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export class Config {
* @param {IJestStareConfig} mExplicitConfig - explicit configuration
* @memberof Config
*/
constructor(private mLogger: Logger, private mExplicitConfig: IJestStareConfig, private mProcessParms: IProcessParms) {}
constructor(private mLogger: Logger, private mExplicitConfig: IJestStareConfig, private mProcessParms: IProcessParms) { }

/**
* Build config from explicit config, package.json, and defaults
Expand Down Expand Up @@ -47,7 +47,7 @@ export class Config {
}

if (config.resultDir == null) {
config.resultDir = Constants.DEFAULT_RESULTS_DIR;
config.resultDir = Constants.DEFAULT_RESULTS_DIR + "/";
} else {
config.resultDir = config.resultDir + "/"; // append an extra slash in case the user didn't add one
}
Expand Down

0 comments on commit 14dccf1

Please sign in to comment.