]> zoso.dev Git - buffer.git/commitdiff
download: one less newline
authorFeross Aboukhadijeh <feross@feross.org>
Thu, 9 Feb 2017 03:25:29 +0000 (19:25 -0800)
committerFeross Aboukhadijeh <feross@feross.org>
Thu, 9 Feb 2017 03:25:29 +0000 (19:25 -0800)
bin/download-node-tests.js

index 616c9c75044261be48849e3320c2ebf461914b05..ae542c8d2ff3592f6ec7a58a57fbfa53b6ae24f9 100755 (executable)
@@ -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