This commit is contained in:
6
node_modules/@iarna/toml/lib/format-num.js
generated
vendored
Executable file
6
node_modules/@iarna/toml/lib/format-num.js
generated
vendored
Executable file
@@ -0,0 +1,6 @@
|
||||
'use strict'
|
||||
module.exports = (d, num) => {
|
||||
num = String(num)
|
||||
while (num.length < d) num = '0' + num
|
||||
return num
|
||||
}
|
||||
Reference in New Issue
Block a user