Skip to content

writeSnapshot writes snapshots to incorrect directory #82

Description

@cywf

The function writeSnapshot in site/src/scripts/github.ts uses process.cwd() to construct the output path: . However, the project stores public assets under . When scripts are executed from the repository root, snapshots are written to a non-existent directory, causing runtime errors and missing data for the site.\n\nExpected behavior: Snapshots should be written to .\n\nSuggested fix: Use or compute path relative to the site folder, or change scripts to run with working directory set to .\n\nLabels: bug, enhancement

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions