Skip to content

Commit

Permalink
set baseURL correctly during init
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Oct 27, 2014
1 parent 0e9c76a commit d080f18
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/config/package.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,8 @@ function checkCreatePackageJSON(initialPjson) {
})
.then(function(baseURL) {
base = baseURL + path.sep;
pjson.baseURL = baseURL;
pjson.directories = pjson.directories || {};
pjson.directories.baseURL = baseURL;
return ui.input('Enter project source folder', base + 'lib');
})
.then(function(lib) {
Expand Down

0 comments on commit d080f18

Please sign in to comment.