Write file using grunt API

This commit is contained in:
Kevin Sawicki
2014-07-21 16:53:27 -07:00
parent 1757ff18f2
commit b9658e23f4

View File

@@ -10,7 +10,7 @@ module.exports = (grunt) ->
filled = template(data)
outputPath = path.join(grunt.config.get('atom.buildDir'), path.basename(filePath))
fs.writeFileSync(outputPath, filled)
grunt.file.write(outputPath, filled)
outputPath
grunt.registerTask 'mkdeb', 'Create debian package', ->