mirror of
https://github.com/cypress-io/cypress.git
synced 2026-01-06 06:29:45 -06:00
* Revert "chore: Refactor cy.state('subject') and `cy.then()` (#22742)"
This reverts commit 0ed8dd57b6.
* Run more tests
This commit is contained in:
@@ -21,10 +21,10 @@ if (process.versions && semver.satisfies(process.versions.node, '>=17.0.0') && s
|
||||
}
|
||||
|
||||
function buildCommand () {
|
||||
const file = process.argv.slice(2)
|
||||
const file = process.argv.slice(2).join(' ') ?? ''
|
||||
let program = `node "${webpackCli}"`
|
||||
|
||||
return file.length ? `${program } "${file.join('" "')}"` : program
|
||||
return file ? `${program } "${file}"` : program
|
||||
}
|
||||
|
||||
const program = buildCommand()
|
||||
|
||||
Reference in New Issue
Block a user