From 162fa87c0e103e7033ae3de2739a77bb8174ee9b Mon Sep 17 00:00:00 2001 From: Juan Tejada Date: Mon, 21 Nov 2016 13:14:15 -0800 Subject: [PATCH] fix(lint) Fix lint error on publish task --- build/tasks/publish-task.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/tasks/publish-task.js b/build/tasks/publish-task.js index 1f0276234..88879ef29 100644 --- a/build/tasks/publish-task.js +++ b/build/tasks/publish-task.js @@ -146,7 +146,7 @@ module.exports = (grunt) => { if (!shouldPublishBuild()) { grunt.log.writeln(`>> Not publishing builds…`); grunt.log.writeln(`>> Would have uploaded the following assets: ${JSON.stringify(uploads, null, 2)}`); - return; + return Promise.resolve(); } const awsKey = process.env.AWS_ACCESS_KEY_ID != null ? process.env.AWS_ACCESS_KEY_ID : ""; const awsSecret = process.env.AWS_SECRET_ACCESS_KEY != null ? process.env.AWS_SECRET_ACCESS_KEY : "";