github-actions[bot] commited on
Commit
844fe52
·
1 Parent(s): 3e94565

Update from GitHub Actions

Browse files
Files changed (1) hide show
  1. utils/webide-utils.js +2 -2
utils/webide-utils.js CHANGED
@@ -155,8 +155,8 @@ export async function executeCommandFlow(page, screenshotPrefix = 'screenshot')
155
  await executeTerminalCommand(page, config.command);
156
 
157
  // 截图保存执行结果
158
- const screenshotDir = config.screenshotDir || './screenshots';
159
- const screenshotPath = await saveScreenshot(page, screenshotDir, screenshotPrefix);
160
 
161
  return true;
162
  } catch (error) {
 
155
  await executeTerminalCommand(page, config.command);
156
 
157
  // 截图保存执行结果
158
+ // const screenshotDir = config.screenshotDir || './screenshots';
159
+ // const screenshotPath = await saveScreenshot(page, screenshotDir, screenshotPrefix);
160
 
161
  return true;
162
  } catch (error) {