File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ export async function statOrNull(file: string): Promise<Stats | null> {
181
181
182
182
export async function computeDefaultAppDirectory ( projectDir : string , userAppDir : string | null | undefined ) : Promise < string > {
183
183
if ( userAppDir != null ) {
184
- const absolutePath = path . join ( projectDir , userAppDir )
184
+ const absolutePath = path . resolve ( projectDir , userAppDir )
185
185
const stat = await statOrNull ( absolutePath )
186
186
if ( stat == null ) {
187
187
throw new Error ( `Application directory ${ userAppDir } doesn't exists` )
@@ -227,4 +227,4 @@ export function getTempName(prefix?: string | n): string {
227
227
228
228
export function isEmptyOrSpaces ( s : string | n ) {
229
229
return s == null || s . trim ( ) . length === 0
230
- }
230
+ }
You can’t perform that action at this time.
0 commit comments