Skip to content

Commit cae534c

Browse files
authored
fix: support force mode
1 parent c79d5f4 commit cae534c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

index.js

+5
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,11 @@ async function createCodecept(opts) {
133133
deps.push(enginePackages.playwright);
134134
}
135135

136+
if (opts.force) {
137+
deps.push('--force');
138+
}
139+
140+
136141
if (!existsSync('package.json')) {
137142
console.log('package.json file does not exist in current dir, creating it...');
138143

0 commit comments

Comments
 (0)