Skip to content

Commit

Permalink
fix: configuration file path join on windows (#984)
Browse files Browse the repository at this point in the history
* fix: configuration file path join on windows

* 简化cfgFile路径创建写法
  • Loading branch information
wengys authored Apr 13, 2021
1 parent 279a3c5 commit 099e76c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/context/configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ export class ContainerConfiguration implements IContainerConfiguration {
}
}
if (!configuration) {
cfgFile = `${packageBaseDir}/configuration`;
cfgFile = join(packageBaseDir, 'configuration');
configuration = safeRequire(cfgFile);
debug('current case 2 => configuration file "%s".', cfgFile);
loadDir = packageBaseDir;
Expand Down

0 comments on commit 099e76c

Please sign in to comment.