mirror of
https://github.com/Azure/setup-helm.git
synced 2025-07-17 19:30:34 +00:00
v2 new release (#77)
This commit is contained in:
committed by
GitHub
parent
217bf70cbd
commit
199ab446df
6
node_modules/diff-sequences/build/index.js
generated
vendored
6
node_modules/diff-sequences/build/index.js
generated
vendored
@ -688,10 +688,8 @@ const findSubsequences = (
|
||||
};
|
||||
|
||||
const validateLength = (name, arg) => {
|
||||
const type = typeof arg;
|
||||
|
||||
if (type !== 'number') {
|
||||
throw new TypeError(`${pkg}: ${name} typeof ${type} is not a number`);
|
||||
if (typeof arg !== 'number') {
|
||||
throw new TypeError(`${pkg}: ${name} typeof ${typeof arg} is not a number`);
|
||||
}
|
||||
|
||||
if (!Number.isSafeInteger(arg)) {
|
||||
|
Reference in New Issue
Block a user