Skip to content

Commit 697c887

Browse files
committed
Add message about REPL command usage
1 parent 86b96de commit 697c887

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/replClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const main = () => {
1212
} else if (argv.length === 3) {
1313
port = argv[2];
1414
} else {
15-
throw new Error();
15+
throw new Error("The command is supposed to be used as: yarn remote [server address] [REPL port]");
1616
}
1717

1818
const sock = connect(port, host);

0 commit comments

Comments
 (0)