Skip to content
This repository was archived by the owner on Sep 21, 2021. It is now read-only.

Commit 689961b

Browse files
author
Bruno Scopelliti
committed
Fix checkNode call arguments
1 parent 7f8208e commit 689961b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/devtools-launchpad/src/development-server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ function onRequest(err, result) {
133133
function startDevServer(devConfig, webpackConfig, rootDir) {
134134
setConfig(devConfig);
135135
root = rootDir;
136-
checkNode(NODE_VERSION, (_, opts) => {
136+
checkNode({ node: NODE_VERSION }, (_, opts) => {
137137
if (!opts.nodeSatisfied) {
138138
const version = opts.node.raw;
139139
console.log(`Sorry, Your version of node is ${version}.`);

0 commit comments

Comments
 (0)