remarkjs / remark-github

remark plugin to link references to commits, issues, pull-requests, and users, like on GitHub
https://remark.js.org
MIT License
179 stars 22 forks source link

Fix to resolve `package.json`s from file, not `process` #41

Closed remcohaszing closed 2 years ago

remcohaszing commented 2 years ago

Initial checklist

Description of changes

The plugin might be run from an unexpected cwd, i.e. using remark-language-server in VS Code in Windows.

Due to variable scoping changes, there are a lot of indentation changes. I recommend reviewers to hide those.

Closes #39

codecov-commenter commented 2 years ago

Codecov Report

Merging #41 (ef2ae6d) into main (b512f0b) will not change coverage. The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #41   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            3         3           
  Lines          516       517    +1     
=========================================
+ Hits           516       517    +1     
Impacted Files Coverage Δ
lib/get-repo-from-package.js 100.00% <100.00%> (ø)
lib/index.js 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update b512f0b...ef2ae6d. Read the comment docs.

github-actions[bot] commented 2 years ago

Hi! This was closed. Team: If this was merged, please describe when this is likely to be released. Otherwise, please add one of the no/* labels.

wooorm commented 2 years ago

Released in 11.2.4!