Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix: move custom API endpoint warning message to stderr
  • Loading branch information
snykerjames committed Aug 12, 2020
1 parent ec4aa37 commit 77c66ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/config.ts
Expand Up @@ -30,7 +30,7 @@ if (endpoint && endpoint !== config.API) {
if (!parsedEndpoint || !parsedEndpoint.protocol || !parsedEndpoint.host) {
throw new InvalidEndpointConfigError();
}
console.info(
console.warn(
'Using a custom API endpoint from `snyk config` (tip: it should contain path to `/api`):',
endpoint,
);
Expand Down

0 comments on commit 77c66ed

Please sign in to comment.