Skip to content

Commit

Permalink
fix: log statement is for devDir not nodedir (#2840)
Browse files Browse the repository at this point in the history
Signed-off-by: David Sanders <dsanders11@ucsbalum.com>
  • Loading branch information
dsanders11 authored Jun 6, 2023
1 parent 5df2b72 commit 55048f8
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 @@ -135,14 +135,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 55048f8

Please sign in to comment.