From 41a43117d641593f687ae96fb767ab01683cbcfa Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sun, 25 May 2025 19:29:38 +0200 Subject: [PATCH] Remove duplicate errorOutput variable declaration --- scripts/prepare-release.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/scripts/prepare-release.js b/scripts/prepare-release.js index cac2747..bdf6882 100755 --- a/scripts/prepare-release.js +++ b/scripts/prepare-release.js @@ -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')) {