From 2baf318517b2ccb60c2d3f0c7505acf6fd82af90 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 9 Nov 2017 00:17:24 +0900 Subject: [PATCH] Fix --- tools/migration/node.2017-11-08.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/migration/node.2017-11-08.js b/tools/migration/node.2017-11-08.js index c5a5176fa5..196a5a90c8 100644 --- a/tools/migration/node.2017-11-08.js +++ b/tools/migration/node.2017-11-08.js @@ -59,7 +59,7 @@ const migrate = async (doc) => { } }) - return added && result.ok === 1 + return result.ok === 1 } async function main() {