Skip to content

Commit

Permalink
Always use absolute appPath. Fixes #92
Browse files Browse the repository at this point in the history
  • Loading branch information
Uladzimir Havenchyk committed Dec 22, 2015
1 parent c7a242b commit 45e247b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ var Builder = {
return callback( new Error( 'Required option not set' ) );
}

// Make sure appPath is absolute
options.appPath = path.resolve( options.appPath );

if ( typeof options.config === 'string' ) {
configPath = path.resolve( process.cwd(), options.config );

Expand Down

0 comments on commit 45e247b

Please sign in to comment.