Skip to content

Commit

Permalink
feat: remove warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Ni55aN committed Dec 27, 2024
1 parent 4a2e284 commit 8ea30ee
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ program
.option('-s --stack <stack>', `Stacks to test, comma-separated (${stackNames.join(',')})`)
.option('-sv --stack-versions <stack-version>', `Versions to test, comma-separated`)
.action(async (options: { depsAlias: string, stack?: string, stackVersions?: string, next?: boolean }) => {

Check warning on line 26 in src/index.ts

View workflow job for this annotation

GitHub Actions / ci / ci

Async arrow function has too many statements (26). Maximum allowed is 16
if (!process.version.startsWith('v16')) console.info(chalk.yellow('---\nWe recommend using Node.js 16 to avoid any potential issues\n---'))

const next = options.next || false
const cwd = process.cwd()
const depsAlias = options.depsAlias
Expand Down Expand Up @@ -130,6 +128,7 @@ program
log('success', 'START')('Testing in', chalk.yellow(folder), '...')
const APP = folder
const SERVE = App.builders[stack].getStaticPath(folder, version)
console.log({ SERVE })
const playwrightFolder = dirname(require.resolve('@playwright/test'))

const { error } = await validateTestRun(APP, SERVE)
Expand Down

0 comments on commit 8ea30ee

Please sign in to comment.