update node and yarn

This commit is contained in:
Sebastian Sdorra
2020-02-19 14:30:52 +01:00
parent ef160198bf
commit b98e82c388
2 changed files with 6 additions and 6 deletions

View File

@@ -15,7 +15,7 @@ export const byKey = (key: string) => {
}
if (isUndefined(b, key)) {
return 0;
return -1;
}
if (a[key] < b[key]) {
@@ -35,7 +35,7 @@ export const byValueLength = (key: string) => {
}
if (isUndefined(b, key)) {
return 0;
return -1;
}
if (a[key].length < b[key].length) {
@@ -55,7 +55,7 @@ export const byNestedKeys = (key: string, nestedKey: string) => {
}
if (isUndefined(b, key, nestedKey)) {
return 0;
return -1;
}
if (a[key][nestedKey] < b[key][nestedKey]) {