From fbaa0b1d62146f1d533e8aaa00084aff834cea86 Mon Sep 17 00:00:00 2001 From: Daniel Lando Date: Fri, 22 Nov 2024 11:16:24 +0100 Subject: [PATCH] style: fix lint --- esbuild.js | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/esbuild.js b/esbuild.js index 098fc57f3b2..a679d6e4d9f 100644 --- a/esbuild.js +++ b/esbuild.js @@ -124,12 +124,15 @@ async function main() { console.log(`Build took ${Date.now() - start}ms`) await printSize(outfile) - const content = (await readFile(outfile, 'utf-8')).replace( - /__dirname, "\.\.\/"/g, - '__dirname, "./node_modules/@serialport/bindings-cpp"', - ).replace( - `"../../package.json"`, `"./node_modules/@zwave-js/server/package.json"` - ) + const content = (await readFile(outfile, 'utf-8')) + .replace( + /__dirname, "\.\.\/"/g, + '__dirname, "./node_modules/@serialport/bindings-cpp"', + ) + .replace( + `"../../package.json"`, + `"./node_modules/@zwave-js/server/package.json"`, + ) await writeFile(outfile, content)