diff --git a/config.coffee b/config.coffee index 0281b45e1..d67ff1c24 100644 --- a/config.coffee +++ b/config.coffee @@ -37,9 +37,7 @@ exports.config = # //# sourceMappingURL=/javascripts/app.js.map # So we remove the ones that have public in them. exec = require('child_process').exec - for file in files when /\.js/.test file.path - exec "perl -pi -e 's/\\/\\/# sourceMappingURL=public.*//g' #{file.path}" - exec c + exec "perl -pi -e 's/\\/\\/# sourceMappingURL=public.*//g' public/javascripts/*.js" files: javascripts: