Skip to content

Sweep: Solve TODO "Make this configurable" in "programs/zwift-store-profile.mjs" #42

@Strajk

Description

@Strajk

Solve TODO "Make this configurable" located in "programs/zwift-store-profile.mjs" on line 10

Checklist
  • programs/zwift-store-profile.mjs

• Add a new line after line 13 to define a new environment variable for the data file path. The line should be: const dataFilePath = process.env.ZWIFT_DATA_FILE_PATH;
• Modify line 9 to use the dataFilePath variable instead of the hardcoded path. The line should be: const DATA_FILE_PATH = dataFilePath || ${os.homedir()}/zwift-data.csv;

Metadata

Metadata

Assignees

No one assigned

    Labels

    sweepAssigns Sweep to an issue or pull request.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions