File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -879,7 +879,7 @@ class Page extends EventEmitter {
879
879
assert ( typeof options . clip . width === 'number' , 'Expected options.clip.width to be a number but found ' + ( typeof options . clip . width ) ) ;
880
880
assert ( typeof options . clip . height === 'number' , 'Expected options.clip.height to be a number but found ' + ( typeof options . clip . height ) ) ;
881
881
assert ( options . clip . width !== 0 , 'Expected options.clip.width not to be 0.' ) ;
882
- assert ( options . clip . height !== 0 , 'Expected options.clip.width not to be 0.' ) ;
882
+ assert ( options . clip . height !== 0 , 'Expected options.clip.height not to be 0.' ) ;
883
883
}
884
884
return this . _screenshotTaskQueue . postTask ( this . _screenshotTask . bind ( this , screenshotType , options ) ) ;
885
885
}
You can’t perform that action at this time.
0 commit comments