Skip to content

Commit 604e910

Browse files
committed
chore: make config getter optional
1 parent a4225b6 commit 604e910

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/cypress-plugin-visual-regression-diff/src/version.utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ export const getPluginConfig = (
1010
if (supportsExpose(config.version ?? '')) {
1111
return config.expose?.[key];
1212
}
13-
return config.env[key];
13+
return config.env?.[key];
1414
};

0 commit comments

Comments
 (0)