Skip to content

Commit 7a04eb0

Browse files
committed
bugfix: Replaced process.env.PWD with process.cwd(), to get the working directory independently of the operating system
1 parent a0e7a44 commit 7a04eb0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/ember-cli-mirage/config/environment.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function usingProxy() {
1313
}).length;
1414

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

1818
try {
1919
fs.lstatSync(proxiesDir);

0 commit comments

Comments
 (0)