aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2018-01-03 21:46:16 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2018-01-03 21:46:16 +0900
commit049ab1234c324ec78a608a5db9253a064390a056 (patch)
treeafe6fce4c821032d5a1c613d7b4a00b5914042fa
parenta6c39af39da15489971af370421108f38a38ec2f (diff)
support node6
-rw-r--r--script/package.js2
1 files changed, 1 insertions, 1 deletions
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() {