Skip to content

Commit

Permalink
Fixed issues with running bsconfig.json from different directory
Browse files Browse the repository at this point in the history
  • Loading branch information
markwpearce committed Aug 28, 2024
1 parent 7adb1c2 commit 3d0e451
Show file tree
Hide file tree
Showing 3 changed files with 544 additions and 132 deletions.
2 changes: 0 additions & 2 deletions bsc-plugin/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ let options = yargs
async function main() {
let currentErrorCode = 0;
let bsconfigPath = options.project ?? 'bsconfig.json';
let bsconfigDir = path.dirname(bsconfigPath);
process.chdir(bsconfigDir);
console.log(`Using bsconfig: ${bsconfigPath}`);

const rawConfig: BsConfig = util.loadConfigFile(bsconfigPath);
Expand Down
Loading

0 comments on commit 3d0e451

Please sign in to comment.