Skip to content

Commit

Permalink
lib,test,tools: fix linter errors with ESLint 4
Browse files Browse the repository at this point in the history
PR-URL: metarhia/jstp#242
Reviewed-By: Mykola Bilochub <nbelochub@gmail.com>
Reviewed-By: Dmytro Nechai <nechaido@gmail.com>
Reviewed-By: Denys Otrishko <shishugi@gmail.com>
  • Loading branch information
aqrln authored and belochub committed Jul 21, 2018
1 parent 9c2b65d commit 102b262
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions lib/record-serialization-fallback.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down
4 changes: 2 additions & 2 deletions tools/build-native.js
Original file line number Diff line number Diff line change
Expand Up @@ -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', () => {
Expand Down
2 changes: 1 addition & 1 deletion tools/make-unicode-tables.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
//
//
Expand Down

0 comments on commit 102b262

Please sign in to comment.