Skip to content

Commit

Permalink
Merge pull request #106 from havenchyk/master
Browse files Browse the repository at this point in the history
Always use absolute appPath. Fixes #92
  • Loading branch information
stefanjudis committed Dec 22, 2015
2 parents 4c43c35 + 45e247b commit de98154
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 de98154

Please sign in to comment.