Skip to content
This repository
Browse code

fix to match README syntax

- properly reads 'version' in ./assets.json if exists
- properly reads ./.asset compress option if ./assets.json exists
  • Loading branch information...
commit 2d0080ed5e1bfc539466e1e78c7258ca41b8e27b 1 parent c474aa5
athibaud athibaud authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  bin/asset
2  bin/asset
@@ -156,7 +156,7 @@ process.on('exit', function(){ console.log(); });
156 156 function assetsFromObject(obj) {
157 157 var arr = [];
158 158 for (var asset in obj) {
159   - arr.push({ name: asset, version: obj[asset].version });
  159 + arr.push({ name: asset, version: obj[asset], compress: options.compress });
160 160 }
161 161 return arr;
162 162 }

0 comments on commit 2d0080e

Please sign in to comment.
Something went wrong with that request. Please try again.