Remove duplicate errorOutput variable declaration

This commit is contained in:
Peter Steinberger 2025-05-25 19:29:38 +02:00
parent b51a418ec3
commit 41a43117d6

View file

@ -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
const imageHelpOutput = exec('./peekaboo image --help', { allowFailure: true });
if (!imageHelpOutput || !imageHelpOutput.includes('mode')) {