Skip to content

Commit

Permalink
fix(generic): use path.resolve (vs /-delimited) to compute default ou…
Browse files Browse the repository at this point in the history
…tDir
  • Loading branch information
anulman authored and MarshallOfSound committed Mar 25, 2017
1 parent 32cecff commit ff16744
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/api/make.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default async (providedOptions = {}) => {
platform: process.platform,
}, providedOptions);

const outDir = providedOptions.outDir || `${dir}/out`;
const outDir = providedOptions.outDir || path.resolve(dir, 'out');
asyncOra.interactive = interactive;

let forgeConfig;
Expand Down
2 changes: 1 addition & 1 deletion src/api/package.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export default async (providedOptions = {}) => {
platform: process.platform,
}, providedOptions);

const outDir = providedOptions.outDir || `${dir}/out`;
const outDir = providedOptions.outDir || path.resolve(dir, 'out');
let prepareSpinner = ora(`Preparing to Package Application for arch: ${(arch === 'all' ? 'ia32' : arch).cyan}`).start();
let prepareCounter = 0;

Expand Down

0 comments on commit ff16744

Please sign in to comment.