From 299fdc19d6dde8fdc00530f351ef38bbd0f52169 Mon Sep 17 00:00:00 2001 From: Julien Fontanet Date: Tue, 12 Dec 2017 12:06:32 +0100 Subject: [PATCH] chore(scripts): coding style --- .eslintrc.js | 4 ++-- scripts/run | 2 +- scripts/run-script | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index ab374c460..d55c08ec9 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -10,6 +10,6 @@ module.exports = { 'node/no-extraneous-require': 'error', 'node/no-missing-import': 'error', 'node/no-missing-require': 'error', - 'prefer-const': 'error' - } + 'prefer-const': 'error', + }, } diff --git a/scripts/run b/scripts/run index e6d1ccf42..ea538502f 100755 --- a/scripts/run +++ b/scripts/run @@ -10,7 +10,7 @@ require('exec-promise')(([ command, ...args ]) => console.log('*', name) return fromEvent(spawn(command, args, { cwd: dir, - stdio: 'inherit' + stdio: 'inherit', }), 'exit').then(code => { if (code !== 0) { throw code diff --git a/scripts/run-script b/scripts/run-script index b32f79a3b..98ce35de1 100755 --- a/scripts/run-script +++ b/scripts/run-script @@ -20,10 +20,10 @@ require('exec-promise')(([ script ]) => const spawnOpts = { cwd: dir, env: Object.assign({}, env, { - PATH: `${dir}/node_modules/.bin${delimiter}${env.PATH}` + PATH: `${dir}/node_modules/.bin${delimiter}${env.PATH}`, }), shell: true, - stdio: 'inherit' + stdio: 'inherit', } return forEach.call( [ `pre${script}`, script, `post${script}` ],