From 4b7601aa92f34c859ca703c76e37da02551995b5 Mon Sep 17 00:00:00 2001 From: David Glasser Date: Wed, 6 Aug 2014 20:44:41 -0700 Subject: [PATCH] builder: remove unused 'append' option --- tools/builder.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tools/builder.js b/tools/builder.js index ff4a93e33c..9c97558b52 100644 --- a/tools/builder.js +++ b/tools/builder.js @@ -153,8 +153,6 @@ _.extend(Builder.prototype, { // if any path segments consist entirely of dots (eg, '..'), and // if there is a file in the bundle with the same relPath, then // the path is changed by adding a numeric suffix. - // - append: if true, append to the file if it exists rather than - // throwing an exception. // - executable: if true, mark the file as executable. // - symlink: if set to a string, create a symlink to its value // @@ -189,8 +187,6 @@ _.extend(Builder.prototype, { var absPath = path.join(self.buildPath, relPath); if (options.symlink) { fs.symlinkSync(options.symlink, absPath); - } else if (options.append) { - fs.appendFileSync(absPath, data); } else { fs.writeFileSync(absPath, data); }