We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a024fc commit a0e7a44Copy full SHA for a0e7a44
1 file changed
packages/ember-cli-mirage/config/environment.js
@@ -1,6 +1,7 @@
1
'use strict';
2
3
const fs = require('fs');
4
+const path = require('path');
5
6
function usingProxy() {
7
const usingProxyArg = !!process.argv.filter(function (arg) {
@@ -12,7 +13,7 @@ function usingProxy() {
12
13
}).length;
14
15
let hasGeneratedProxies = false;
- const proxiesDir = `${process.env.PWD}/server/proxies`;
16
+ const proxiesDir = path.join(process.env.PWD, 'server', 'proxies');
17
18
try {
19
fs.lstatSync(proxiesDir);
0 commit comments