fix(firefox): error message typo (#4623)
This commit is contained in:
parent
4ccd52c309
commit
2d99d85976
@ -797,7 +797,7 @@ function getScreenshotMimeType(options) {
|
||||
const fileType = mime.getType(options.path);
|
||||
if (fileType === 'image/png' || fileType === 'image/jpeg')
|
||||
return fileType;
|
||||
throw new Error('Unsupported screnshot mime type: ' + fileType);
|
||||
throw new Error('Unsupported screenshot mime type: ' + fileType);
|
||||
}
|
||||
return 'image/png';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user