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

Commit a6cf94f

Browse files
author
sw-yx
committed
prettify live tunnel warning
1 parent 066526b commit a6cf94f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/live-tunnel.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ async function createTunnel(siteId, netlifyApiToken, log) {
1111

1212
if (!siteId) {
1313
console.error(
14-
"Error: no siteId defined, did you forget to run `netlify init` or `netlify link`?"
14+
`${NETLIFYDEVERR} Error: no siteId defined, did you forget to run ${chalk.yellow(
15+
"netlify init"
16+
)} or ${chalk.yellow("netlify link")}?`
1517
);
1618
process.exit(1);
1719
}

0 commit comments

Comments
 (0)