tacoss / testcafe-blink-diff

Visual regression for Testcafé
65 stars 15 forks source link

When using the force flag process should not exit #32

Closed JohanDavidsson closed 3 years ago

JohanDavidsson commented 3 years ago

Hi,

Sorry if I am misunderstanding the purpose of the force flag but as I understand it it should ignore missing snapshots. The current behavior of using or not using the force flag is that you get a warning or an error, but the process is exited both ways (either by process.exit or by throwing a error). If I understand the force flag correctly this is a bug?

pateketrueke commented 3 years ago

Yeah, the purpose of the --force flag is to ignore missing stuff, otherwise you'll get an error.