Skip to content

Commit 82ecc91

Browse files
committed
Removed an unused method
1 parent b8c928b commit 82ecc91

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

lib/bundle.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -332,13 +332,6 @@ async function getReferences (currentNode, isOutOfRoot, pathSolver, parentFilena
332332
return;
333333
}
334334

335-
function removeLeadingSlash(url) {
336-
if (url.startsWith('/')) {
337-
return url.slice(1);
338-
}
339-
return url;
340-
}
341-
342335
remoteRefResolutionPromises.push(
343336
new Promise(async (resolveInner) => {
344337
function convertToJSONString (content) {

0 commit comments

Comments
 (0)