From: Feross Aboukhadijeh Date: Thu, 9 Feb 2017 03:25:29 +0000 (-0800) Subject: download: one less newline X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=c91580ff1b75f5239f32d10c0e4db81c530d158b;p=buffer.git download: one less newline --- diff --git a/bin/download-node-tests.js b/bin/download-node-tests.js index 616c9c7..ae542c8 100755 --- a/bin/download-node-tests.js +++ b/bin/download-node-tests.js @@ -65,7 +65,7 @@ function testfixer (filename) { if (firstline) { // require buffer explicitly - var preamble = 'var Buffer = require(\'../../\').Buffer;\n' + var preamble = 'var Buffer = require(\'../../\').Buffer;' if (/use strict/.test(line)) line += '\n' + preamble else line += preamble + '\n' + line firstline = false