From 5e5ce9e208b730ac71cb349ed5cf365a333f2839 Mon Sep 17 00:00:00 2001 From: PatrickJS Date: Fri, 21 Mar 2014 22:32:00 -0700 Subject: [PATCH] chore(build.config): remove 'fs' module I'm not sure why var fs = require('fs'); is here anymore Closes #870 --- config/build.config.js | 1 - gulpfile.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/config/build.config.js b/config/build.config.js index 263e82f336..13d21681c9 100644 --- a/config/build.config.js +++ b/config/build.config.js @@ -1,4 +1,3 @@ -var fs = require('fs'); module.exports = { dist: 'dist', distJs: 'dist/js', diff --git a/gulpfile.js b/gulpfile.js index 0c0f46c125..a0f5ee98b5 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -132,7 +132,7 @@ gulp.task('changelog', function(done) { version: pkg.version, }, function(err, data) { if (err) return done(err); - require('fs').writeFileSync('CHANGELOG.md', data); + fs.writeFileSync('CHANGELOG.md', data); done(); }); });