Skip to content

Commit 7f01763

Browse files
committed
Use Grunt API to write file
This way it guarantees that all the intermediate directories are created.
1 parent 567bff3 commit 7f01763

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/doxdox.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ module.exports = function (grunt) {
6464
config.package
6565
).then(function (content) {
6666

67-
fs.writeFileSync(output, content, 'utf8');
67+
grunt.file.write(output, content, {encoding: 'utf8'});
6868

6969
done();
7070

0 commit comments

Comments
 (0)