Skip to content

Commit

Permalink
chore(protect): move api url warnings to stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
Jahed Ahmed committed Aug 19, 2021
1 parent e8fed38 commit c9ddb44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/snyk-protect/src/lib/snyk-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export function getApiBaseUrl(): string {
// snyk CI environment - we use `.../api/v1` though the norm is just `.../api`
apiBaseUrl = process.env.SNYK_API.replace('/v1', '');
} else {
console.log(
console.warn(
'Malformed SNYK_API value. Using default: https://snyk.io/api',
);
}
Expand Down

0 comments on commit c9ddb44

Please sign in to comment.