mirror of
https://github.com/samsonjs/Peekaboo.git
synced 2026-04-27 15:07:41 +00:00
Remove duplicate errorOutput variable declaration
This commit is contained in:
parent
b51a418ec3
commit
41a43117d6
1 changed files with 0 additions and 6 deletions
|
|
@ -286,12 +286,6 @@ function checkSwift() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Test error handling - non-existent app
|
|
||||||
const errorOutput = exec('./peekaboo list windows --app NonExistentApp12345 --json-output 2>&1', { allowFailure: true });
|
|
||||||
if (errorOutput && !errorOutput.includes('error')) {
|
|
||||||
logWarning('Error handling may not be working correctly');
|
|
||||||
}
|
|
||||||
|
|
||||||
// Test image command help
|
// Test image command help
|
||||||
const imageHelpOutput = exec('./peekaboo image --help', { allowFailure: true });
|
const imageHelpOutput = exec('./peekaboo image --help', { allowFailure: true });
|
||||||
if (!imageHelpOutput || !imageHelpOutput.includes('mode')) {
|
if (!imageHelpOutput || !imageHelpOutput.includes('mode')) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue