Crit! path.relative trim first symbol of dirname
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- tooling
Research direction
Start at index.js line 23 and compare path.relative('.', 'root/app') with the isolated function in the linked JSBin. Confirm that the result preserves the leading character and matches the expected 'root/app' output.
Written by the indexing model from the issue text.
Description
Description:
Calling path.relative('.', 'root/app') return 'oot/app' instead of 'root/app'
Expected:
'root/app'
Problem at:
https://github.com/browserify/path-browserify/blob/master/index.js#L23
Fiddle (isolated function):
https://jsbin.com/cinaxatugo/1/edit?js,console
- Dominant language
- JavaScript
- Stars
- 192
- Forks
- 54
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from browserify/path-browserify
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
browserify/path-browserify#35 · 1 comment · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
browserify/path-browserify#34 · 5 comments · 3 reactions ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
browserify/path-browserify#32 · 3 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
browserify/path-browserify#31 · 1 comment · 3 reactions ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
All issues in browserify/path-browserify
Similar issues
-
Bug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Automattic/safe-publish#594 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
dream-num/dsh-univer-office#104 ·
-
comp/dashboard invalid P3
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
NousResearch/hermes-agent#121143 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
avniproject/avni-webapp#1811 ·
-
area/auroraboot area/webui bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100