Skip to content

Commit

Permalink
fix: support force mode
Browse files Browse the repository at this point in the history
  • Loading branch information
kobenguyent authored Feb 9, 2024
1 parent c79d5f4 commit cae534c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,11 @@ async function createCodecept(opts) {
deps.push(enginePackages.playwright);
}

if (opts.force) {
deps.push('--force');
}


if (!existsSync('package.json')) {
console.log('package.json file does not exist in current dir, creating it...');

Expand Down

0 comments on commit cae534c

Please sign in to comment.