diff --git a/lib/record-serialization-fallback.js b/lib/record-serialization-fallback.js index aa89818..bd60b50 100644 --- a/lib/record-serialization-fallback.js +++ b/lib/record-serialization-fallback.js @@ -343,8 +343,8 @@ JsrsParser.prototype.parseNumber = function() { const value = ( base === 10 ? - this.parseDecimal() : - this.parseMachineInteger(base) + this.parseDecimal() : + this.parseMachineInteger(base) ); if (isNaN(value)) { diff --git a/tools/build-native.js b/tools/build-native.js index 76d434f..4844dc6 100755 --- a/tools/build-native.js +++ b/tools/build-native.js @@ -17,8 +17,8 @@ fs.access('build', (error) => { action = 'rebuild'; } - const nodeGyp = childProcess.spawn('node-gyp', [action, jobs], - { shell: true }); + const nodeGyp = childProcess.spawn( + 'node-gyp', [action, jobs], { shell: true }); const errorLines = []; nodeGyp.on('error', () => { diff --git a/tools/make-unicode-tables.js b/tools/make-unicode-tables.js index a60f98a..cd75429 100755 --- a/tools/make-unicode-tables.js +++ b/tools/make-unicode-tables.js @@ -17,7 +17,7 @@ const getHeaderGuard = filename => const getOutputPath = filename => path.join(__dirname, '../src', filename); const getFileHeader = filename => -`// Copyright (c) 2017 JSTP project authors. Use of this source code is + `// Copyright (c) 2017 JSTP project authors. Use of this source code is // governed by the MIT license that can be found in the LICENSE file. // //