oneday-core
Advanced tools
Comparing version 1.0.10 to 1.0.11
@@ -34,3 +34,3 @@ const aws = require('aws-sdk'); | ||
const filtered = [result.Item].filter(filter); | ||
if (filtered.size === 0) { | ||
if (filtered.length === 0) { | ||
if (isThrow) { | ||
@@ -74,3 +74,3 @@ throw new { | ||
const filtered = result.Items.filter(filter); | ||
if (filtered.size === 0) { | ||
if (filtered.length === 0) { | ||
if (isThrow) { | ||
@@ -77,0 +77,0 @@ throw new { |
@@ -23,3 +23,2 @@ 'use strict'; | ||
module.exports.hasProperties = util.hasProperties; | ||
@@ -26,0 +25,0 @@ module.exports.isArray = util.isArray; |
{ | ||
"name": "oneday-core", | ||
"version": "1.0.10", | ||
"version": "1.0.11", | ||
"description": "Basic AWS util functions to ease development.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
14698