Skip to content

Commit

Permalink
bugfix: Replaced process.env.PWD with process.cwd(), to get the worki…
Browse files Browse the repository at this point in the history
…ng directory independently of the operating system
  • Loading branch information
ijlee2 committed Oct 18, 2023
1 parent a0e7a44 commit 7a04eb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ember-cli-mirage/config/environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function usingProxy() {
}).length;

let hasGeneratedProxies = false;
const proxiesDir = path.join(process.env.PWD, 'server', 'proxies');
const proxiesDir = path.join(process.cwd(), 'server', 'proxies');

try {
fs.lstatSync(proxiesDir);
Expand Down

0 comments on commit 7a04eb0

Please sign in to comment.