diff options
author | Kristóf Marussy <kristof@marussy.com> | 2022-02-24 00:38:44 +0100 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2022-02-24 00:41:57 +0100 |
commit | e067ff74a8d7e6213f20a28ffad9510c9ba06b0d (patch) | |
tree | cec81985953c55f4f29241b172a5bbfa1d145b1f /scripts | |
parent | fix: Cosmetic fixes (diff) | |
download | sophie-e067ff74a8d7e6213f20a28ffad9510c9ba06b0d.tar.gz sophie-e067ff74a8d7e6213f20a28ffad9510c9ba06b0d.tar.zst sophie-e067ff74a8d7e6213f20a28ffad9510c9ba06b0d.zip |
chore(deps): Bump dependencies
Signed-off-by: Kristóf Marussy <kristof@marussy.com>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/updateElectronVendors.js | 2 | ||||
-rw-r--r-- | scripts/watch.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/updateElectronVendors.js b/scripts/updateElectronVendors.js index 5e8ab36..2bbcec3 100644 --- a/scripts/updateElectronVendors.js +++ b/scripts/updateElectronVendors.js | |||
@@ -20,7 +20,7 @@ function getVendors() { | |||
20 | `${electronPath.toString()} -p "JSON.stringify(process.versions)"`, | 20 | `${electronPath.toString()} -p "JSON.stringify(process.versions)"`, |
21 | { | 21 | { |
22 | env: { ELECTRON_RUN_AS_NODE: '1' }, | 22 | env: { ELECTRON_RUN_AS_NODE: '1' }, |
23 | encoding: 'utf-8', | 23 | encoding: 'utf8', |
24 | }, | 24 | }, |
25 | ); | 25 | ); |
26 | 26 | ||
diff --git a/scripts/watch.js b/scripts/watch.js index 91f3583..8ea5f29 100644 --- a/scripts/watch.js +++ b/scripts/watch.js | |||
@@ -181,7 +181,7 @@ function setupMainPackageWatcher(viteDevServer) { | |||
181 | }); | 181 | }); |
182 | 182 | ||
183 | spawnProcess.stderr.on('data', (/** @type {Buffer} */ data) => { | 183 | spawnProcess.stderr.on('data', (/** @type {Buffer} */ data) => { |
184 | const stderrString = data.toString('utf-8').trimEnd(); | 184 | const stderrString = data.toString('utf8').trimEnd(); |
185 | if (!stderrIgnorePatterns.some((r) => r.test(stderrString))) { | 185 | if (!stderrIgnorePatterns.some((r) => r.test(stderrString))) { |
186 | console.error(stderrString); | 186 | console.error(stderrString); |
187 | } | 187 | } |