We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bce32f3 commit 62a80b7Copy full SHA for 62a80b7
lib/src/importer-registry.ts
@@ -209,7 +209,11 @@ export class ImporterRegistry<sync extends 'sync' | 'async'> {
209
return thenOr(
210
importer.findFileUrl(request.url, canonicalizeContext),
211
url => {
212
- if (!url) return new proto.InboundMessage_FileImportResponse();
+ if (!url) {
213
+ return new proto.InboundMessage_FileImportResponse({
214
+ containingUrlUnused: !canonicalizeContext.containingUrlAccessed,
215
+ });
216
+ }
217
if (url.protocol !== 'file:') {
218
throw (
219
`FileImporter ${inspect(importer)} returned non-file: URL ` +
0 commit comments