Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #8 from elfsternberg/master

Patch to fix coffeescript's modifying the options object.
  • Loading branch information...
commit cd03804c56f3aa61d132b115fabb08d32d9350b5 2 parents 7c3d875 + d64c5b6
@avalade authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  tasks/coffee.js
View
3  tasks/coffee.js
@@ -20,8 +20,9 @@ module.exports = function(grunt) {
var dest = this.file.dest,
options = this.data.options,
extension = this.data.extension;
+
grunt.file.expandFiles(this.file.src).forEach(function(filepath) {
- grunt.helper('coffee', filepath, dest, options, extension);
+ grunt.helper('coffee', filepath, dest, grunt.utils._.clone(options), extension);
});
if (grunt.task.current.errorCount) {
Please sign in to comment.
Something went wrong with that request. Please try again.