Skip to content
Permalink
Browse files

Make @Version replace regex global. Fixes #11960

  • Loading branch information...
rwaldron committed Jun 23, 2012
1 parent 3206be8 commit d4b5a1974d2b60989e9fe1158ce0b8c1f577c2d1
Showing with 1 addition and 1 deletion.
  1. +1 −1 grunt.js
@@ -348,7 +348,7 @@ module.exports = function( grunt ) {
// Embed Date
// Embed Version
compiled = compiled.replace( "@DATE", new Date() )
.replace( "@VERSION", version );
.replace( /@VERSION/g, version );

// Write concatenated source to file
file.write( name, compiled );

0 comments on commit d4b5a19

Please sign in to comment.
You can’t perform that action at this time.