mirror of
https://github.com/nodejs/node.git
synced 2025-12-28 07:50:41 +00:00
Fix include logic was replacing https include with http
This commit is contained in:
parent
7bee98bae2
commit
815169383e
@ -86,7 +86,7 @@ function processIncludes(input, cb) {
|
||||
if (er) return cb(errState = er);
|
||||
incCount--;
|
||||
includeData[fname] = inc;
|
||||
input = input.split(include).join(includeData[fname]);
|
||||
input = input.split(include+'\n').join(includeData[fname]+'\n');
|
||||
if (incCount === 0) {
|
||||
return cb(null, input);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user