Upgrade Ava to v4
This commit is contained in:
parent
9a40cc5274
commit
ce89f1b611
1153 changed files with 27264 additions and 95308 deletions
8
node_modules/ci-info/index.js
generated
vendored
8
node_modules/ci-info/index.js
generated
vendored
|
|
@ -1,8 +1,8 @@
|
|||
'use strict'
|
||||
|
||||
var vendors = require('./vendors.json')
|
||||
const vendors = require('./vendors.json')
|
||||
|
||||
var env = process.env
|
||||
const env = process.env
|
||||
|
||||
// Used for testing only
|
||||
Object.defineProperty(exports, '_vendors', {
|
||||
|
|
@ -13,8 +13,8 @@ exports.name = null
|
|||
exports.isPR = null
|
||||
|
||||
vendors.forEach(function (vendor) {
|
||||
var envs = Array.isArray(vendor.env) ? vendor.env : [vendor.env]
|
||||
var isCI = envs.every(function (obj) {
|
||||
const envs = Array.isArray(vendor.env) ? vendor.env : [vendor.env]
|
||||
const isCI = envs.every(function (obj) {
|
||||
return checkEnv(obj)
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue