Skip to content

Commit dd4fae1

Browse files
authored
Merge pull request atom#22979 from DeeDeeG/update-system-requirements-checker-node
bootstrap: Use legacy-compatible `catch` syntax (support older Node)
2 parents 925e59f + 5339e5d commit dd4fae1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/lib/verify-machine-requirements.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ function verifyPython() {
9090
env: process.env,
9191
stdio: ['ignore', 'pipe', 'ignore']
9292
});
93-
} catch {}
93+
} catch (e) {}
9494

9595
if (stdout) {
9696
if (stdout.indexOf('+') !== -1)

0 commit comments

Comments
 (0)