Skip to content

Commit bbc92fb

Browse files
benblankisaacs
authored andcommitted
Fix figgyPudding error in npm token
It seems that a couple of lines were missed when token.js was [changed to use figgyPudding][1] which [causes an error][2] when trying to run that command in certain circumstances. This patch fixes that error. [1]: 4cf850d#diff-398ed3b014436a5204583323ea29320b [2]: https://npm.community/t/npm-token-err-figgypudding-options-cannot-be-modified-use-concat-instead/10288 PR-URL: #259 Credit: @benblank Close: #259 Reviewed-by: @isaacs
1 parent bee6d42 commit bbc92fb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/token.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ function config () {
118118
})
119119
} else {
120120
conf = conf.concat({ auth: {} })
121-
conf.auth = {}
122121
}
123122
if (conf.otp) conf.auth.otp = conf.otp
124123
return conf

0 commit comments

Comments
 (0)