File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 7
7
checkMonorepoBuildConditions ,
8
8
validateOutputDirectory ,
9
9
} from "../utils.js" ;
10
+ import { join } from "path" ;
10
11
11
12
const root = process . cwd ( ) ;
12
13
@@ -22,7 +23,7 @@ let projectRoot = root;
22
23
// N.B. We don't want to change directories for monorepo builds, so that the build process can
23
24
// locate necessary files outside the project directory (e.g. at the root).
24
25
if ( process . env . FIREBASE_APP_DIRECTORY && ! project ) {
25
- projectRoot = projectRoot . concat ( "/" , process . env . FIREBASE_APP_DIRECTORY ) ;
26
+ projectRoot = join ( root , process . env . FIREBASE_APP_DIRECTORY ) ;
26
27
}
27
28
28
29
// Determine which command to run the build
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ const root = process.cwd();
13
13
14
14
let projectRoot = root ;
15
15
if ( process . env . FIREBASE_APP_DIRECTORY ) {
16
- projectRoot = projectRoot . concat ( "/" , process . env . FIREBASE_APP_DIRECTORY ) ;
16
+ projectRoot = join ( root , process . env . FIREBASE_APP_DIRECTORY ) ;
17
17
}
18
18
19
19
// Parse args to pass to the build command
You can’t perform that action at this time.
0 commit comments