Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

module: fix stat cache & simpler shebang #26266

Closed
wants to merge 5 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup: add period at end of sentence
Co-Authored-By: BridgeAR <ruben@bridgewater.de>
  • Loading branch information
addaleax and BridgeAR authored Feb 22, 2019
commit fdbf4724db823a1bda275fab30cb0a5e5978edfa
2 changes: 1 addition & 1 deletion lib/internal/modules/cjs/helpers.js
Original file line number Diff line number Diff line change
@@ -64,7 +64,7 @@ function stripShebang(content) {
index--;
// Note that this actually includes the newline character(s) in the
// new output. This duplicates the behavior of the regular expression
// that was previously used to replace the shebang line
// that was previously used to replace the shebang line.
content = content.slice(index);
}
return content;