Skip to content

Change to JSON key file breaks using relative paths #95

Description

@jasonpolites

This recent change to using a single JSON file for the key data makes sense but it now breaks if you specify a path relative to the root of the project. By default require(...) will search node_modules if the path specified is relative.

Recommend using more generalized file system operations (e.g. fs & path) so that applications can remain isolated from their environment

Activity

  1. added this to the milestone on Aug 5, 2014
  2. rakyll commented on Aug 5, 2014

    @rakyll
    Contributor

    I will be fixing it while I'm working on #46.

  3. modified the milestones: , Core Stable on Feb 2, 2015
  4. 72 remaining items

  5. added a commit that references this issue on Mar 5, 2026
  6. added 2 commits that reference this issue on Mar 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

🚨This issue needs some love.triage meI really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions