diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-01-03 21:46:16 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-01-03 21:46:16 +0900 |
commit | 049ab1234c324ec78a608a5db9253a064390a056 (patch) | |
tree | afe6fce4c821032d5a1c613d7b4a00b5914042fa | |
parent | a6c39af39da15489971af370421108f38a38ec2f (diff) |
support node6
-rw-r--r-- | script/package.js | 2 |
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() { |