Skip to content

Commit

Permalink
lib: log as yes/no whether build dir was created (#2370)
Browse files Browse the repository at this point in the history
This bit of logging apparently expected to be given a boolean, but was
receiving either a path or undefined based on the result of fs.mkdir.

Now it prints either "Yes" or "No",
rather than printing either a path or "undefined", respectively.
  • Loading branch information
DeeDeeG committed May 19, 2021
1 parent fca4795 commit 245dee5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/configure.js
Expand Up @@ -76,7 +76,9 @@ function configure (gyp, argv, callback) {
if (err) {
return callback(err)
}
log.verbose('build dir', '"build" dir needed to be created?', isNew)
log.verbose(
'build dir', '"build" dir needed to be created?', isNew ? 'Yes' : 'No'
)
if (win) {
findVisualStudio(release.semver, gyp.opts.msvs_version,
createConfigFile)
Expand Down

0 comments on commit 245dee5

Please sign in to comment.