Skip to content

Commit

Permalink
fix: log statement is for devDir not nodedir
Browse files Browse the repository at this point in the history
Signed-off-by: David Sanders <dsanders11@ucsbalum.com>
  • Loading branch information
dsanders11 authored May 10, 2023
1 parent 6f3c2d3 commit 5045369
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,14 +99,14 @@ async function install (fs, gyp, argv) {
}

async function go () {
log.verbose('ensuring nodedir is created', devDir)
log.verbose('ensuring devDir is created', devDir)

// first create the dir for the node dev files
try {
const created = await fs.promises.mkdir(devDir, { recursive: true })

if (created) {
log.verbose('created nodedir', created)
log.verbose('created devDir', created)
}
} catch (err) {
if (err.code === 'EACCES') {
Expand Down

0 comments on commit 5045369

Please sign in to comment.