From 049ab1234c324ec78a608a5db9253a064390a056 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Wed, 3 Jan 2018 21:46:16 +0900 Subject: support node6 --- script/package.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script') diff --git a/script/package.js b/script/package.js index 0879ec8..0128f0f 100644 --- a/script/package.js +++ b/script/package.js @@ -4,7 +4,7 @@ let AdmZip = require('adm-zip'); let manifest = require('../manifest'); manifest.iconFiles = function() { - return Object.values(this.icons); + return Object.keys(this.icons).map(key => this.icons[key]); }; manifest.contentScriptFiles = function() { -- cgit v1.2.3