mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-11 22:46:27 +00:00
test: check NODE_ENV instead of CI
Fixes test problem on WSL
This commit is contained in:
parent
44e0d36b39
commit
ecdb9b3c3b
1 changed files with 1 additions and 1 deletions
|
@ -483,7 +483,7 @@ function localName(branchName: string) {
|
||||||
|
|
||||||
// istanbul ignore next
|
// istanbul ignore next
|
||||||
function checkForPlatformFailure(err: Error) {
|
function checkForPlatformFailure(err: Error) {
|
||||||
if (process.env.CI) {
|
if (process.env.NODE_ENV === 'test') {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const platformFailureStrings = [
|
const platformFailureStrings = [
|
||||||
|
|
Loading…
Reference in a new issue