Skip to content
Permalink
Browse files

fix(generic): use path.resolve (vs /-delimited) to compute default ou…

…tDir
  • Loading branch information
anulman authored and MarshallOfSound committed Feb 7, 2017
1 parent 32cecff commit ff16744782bd9570fa890182723566e08fa41599
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/api/make.js
  2. +1 −1 src/api/package.js
@@ -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;
@@ -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;

0 comments on commit ff16744

Please sign in to comment.
You can’t perform that action at this time.