Skip to content

Fix unused variable lint warning in capture-guide-screenshots.mjs #130

@zipdoki

Description

@zipdoki

Background

GitHub Actions lint check is reporting an unused variable warning:

website/scripts/capture-guide-screenshots.mjs
'err' is defined but never used (line 116)

Task

  • Fix the unused err variable in the catch block at line 116

Options:

  1. Rename to _err to indicate intentionally unused
  2. Include the error in the log message for better debugging

Done When

  • Lint check passes without warnings for this file

Notes

File: website/scripts/capture-guide-screenshots.mjs:116

} catch (err) {
   console.log(`  Note: Could not click next at step ${i + 1}, trying Enter key...`);

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions