From b5725da9eae3fe7d7d2df62d15b4b4cb0ed3c8bb Mon Sep 17 00:00:00 2001 From: David Baker Date: Tue, 6 Jul 2021 19:06:58 +0100 Subject: [PATCH] lint --- hak/matrix-seshat/check.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/hak/matrix-seshat/check.js b/hak/matrix-seshat/check.js index 5acdf89..7ccbd8f 100644 --- a/hak/matrix-seshat/check.js +++ b/hak/matrix-seshat/check.js @@ -64,9 +64,14 @@ module.exports = async function(hakEnv, moduleInfo) { // Ensure Rust target exists (nb. we avoid depending on rustup) await new Promise((resolve, reject) => { - const rustc = childProcess.execFile('rustc', ['--target', hakEnv.getTargetId(), '-o', 'tmp', '-'], (err, out) => { + const rustc = childProcess.execFile('rustc', [ + '--target', hakEnv.getTargetId(), '-o', 'tmp', '-', + ], (err, out) => { if (err) { - reject("rustc can't build for target " + hakEnv.getTargetId() + ": ensure the correct toolchain is installed"); + reject( + "rustc can't build for target " + hakEnv.getTargetId() + + ": ensure the correct toolchain is installed", + ); } fsProm.unlink('tmp').then(resolve); });