Skip to content

Commit

Permalink
Merge pull request #548 from carvinlo/amu/fix-app-directory
Browse files Browse the repository at this point in the history
Corrected app directory
  • Loading branch information
FlorianRappl authored Sep 29, 2022
2 parents edd2e6f + 4aae203 commit 65701e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tooling/piral-cli/src/apps/debug-pilet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ export async function debugPilet(baseDir = process.cwd(), options: DebugPiletOpt
checkSanity(pilets);

await hooks.beforeApp?.({ appInstanceDir, pilets });
const appDirs = [appInstanceDir] || (await getOrMakeApps(pilets[0], logLevel));
const appDirs = appInstanceDir ? [appInstanceDir] : (await getOrMakeApps(pilets[0], logLevel));

await Promise.all(
appDirs.map(async (appDir) => {
Expand Down

0 comments on commit 65701e0

Please sign in to comment.