mafintosh / mafintosh/append-tree

should use `path.sep` instead of `/` for cross-OS compat

Open
#7 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
55
Forks
13
PR merge metrics
No merged PRs in 30d

Description

Right now paths are created using `/` to join and split paths - this makes the library not compatible with node `fs` on Windows. If all the `/` path construction and parsing was changed to use `path.sep`, it would be OS tolerant I think.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate every path construction and parsing entry point in the library and compare its separators with the Node.js fs expectations on Windows. Reproduce the issue on a Windows-compatible environment or with platform-specific tests, then verify that tree paths work correctly across operating systems without changing their intended structure.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.