Skip to content

Commit 6d0ccdb

Browse files
fix
1 parent af268ce commit 6d0ccdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

converter/converter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ function convertConfig(lt_config, outputFilePath) {
168168
he_yaml.pre.push("npm install cypress@" + obj.run_settings.cypress_version+" --legacy-peer-deps");
169169
}
170170

171-
if (obj.run_settings.npm_dependencies.length == 0 && !obj.run_settings.cypress_version) {
171+
if (!obj.run_settings.npm_dependencies ||( obj.run_settings.npm_dependencies.length == 0 && !obj.run_settings.cypress_version)) {
172172
he_yaml.pre.push("npm install --legacy-peer-deps");
173173
}
174174

0 commit comments

Comments
 (0)