fix: hmset, mset should accept value = 0 #870
Annotations
6 errors and 10 warnings
|
Run ESLint:
lib/api/controllers/memoryStorageController.js#L270
Replace `typeof·v·!==·"object"·||·!v.field·||·(!v.value·&&·v.value·!==·0)` with `⏎··············typeof·v·!==·"object"·||⏎··············!v.field·||⏎··············(!v.value·&&·v.value·!==·0)⏎············`
|
Run ESLint:
lib/api/controllers/memoryStorageController.js#L351
Replace `typeof·entry·!==·"object"·||·!entry.key·||·(!entry.value·&&·entry.value·!==·0)` with `⏎··············typeof·entry·!==·"object"·||⏎··············!entry.key·||⏎··············(!entry.value·&&·entry.value·!==·0)⏎············`
|
|
|
Run ESLint
The operation was canceled.
|
Run ESLint:
bin/.upgrades/lib/context.js#L65
Prefer for...of instead of Array.forEach
|
Run ESLint:
features/fixtures/mappings.js#L10
Expected object keys to be in ascending order. 'age' should be before 'name'
|
Run ESLint:
features/fixtures/mappings.js#L15
Expected object keys to be in ascending order. 'mtp-open-data' should be before 'nyc-open-data'
|
Run ESLint:
features/fixtures/mappings.js#L20
Expected object keys to be in ascending order. 'age' should be before 'name'
|
Run ESLint:
features/fixtures/permissions.js#L14
Expected object keys to be in ascending order. 'password' should be before 'username'
|
Run ESLint:
features/fixtures/permissions.js#L18
Expected object keys to be in ascending order. 'default-user' should be before 'test-admin'
|
Run ESLint:
features/fixtures/permissions.js#L25
Expected object keys to be in ascending order. 'password' should be before 'username'
|
Run ESLint:
features/step_definitions/auth-steps.js#L12
Expected object keys to be in ascending order. 'password' should be before 'username'
|
Run ESLint:
features/step_definitions/bulk-steps.js#L48
Expected object keys to be in ascending order. 'action' should be before 'controller'
|
Run ESLint:
features/step_definitions/bulk-steps.js#L50
Expected object keys to be in ascending order. 'collection' should be before 'index'
|
The logs for this run have expired and are no longer available.
Loading