diff options
Diffstat (limited to 'lib/grunt/plugins.js')
| -rw-r--r-- | lib/grunt/plugins.js | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/grunt/plugins.js b/lib/grunt/plugins.js index b423b61f..ca2d6ec6 100644 --- a/lib/grunt/plugins.js +++ b/lib/grunt/plugins.js @@ -42,7 +42,8 @@ module.exports = function(grunt) {      docs.on('exit', function(code){        if(code !== 0) grunt.fail.warn('Error creating docs');        grunt.file.expand(files).forEach(function(file){ -        grunt.file.write(file, util.process(grunt.file.read(file), grunt.config('NG_VERSION'), false)); +        var content = util.process(grunt.file.read(file), grunt.config('NG_VERSION'), false); +        grunt.file.write(file, content);        });        grunt.log.ok('docs created');        done();  | 
