Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
config: treat otps as strings to not eat leading zeros
Browse files Browse the repository at this point in the history
Credit: @iarna
  • Loading branch information
iarna committed Apr 10, 2018
1 parent ada9c6c commit 6857643
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/config/defaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ exports.types = {
only: [null, 'dev', 'development', 'prod', 'production'],
optional: Boolean,
'package-lock': Boolean,
otp: Number,
otp: [null, String],
'package-lock-only': Boolean,
parseable: Boolean,
'prefer-offline': Boolean,
Expand Down

0 comments on commit 6857643

Please sign in to comment.