Skip to content

Commit

Permalink
Merge pull request #1331 from snykerjames/fix/custom-api-endpoint-war…
Browse files Browse the repository at this point in the history
…ning-output

fix: move custom API endpoint warning message to stderr
  • Loading branch information
JackuB committed Aug 18, 2020
2 parents 07c3a69 + 77c66ed commit 027d194
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 027d194

Please sign in to comment.