This repository was archived by the owner on Jun 20, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -446,12 +446,13 @@ export class File {
446446 this . context . extensionOverrides && this . context . extensionOverrides . setOverrideFileInfo ( this ) ;
447447
448448 if ( ! fs . existsSync ( this . info . absPath ) ) {
449-
450- if ( / \. j s x ? $ / . test ( this . info . fuseBoxPath ) && this . context . fuse && this . context . fuse . producer ) {
451- this . context . fuse . producer . addWarning ( 'unresolved' ,
452- `Statement "${ this . info . fuseBoxPath } " has failed to resolve in module "${ this . collection && this . collection . name } "` ) ;
453- } else {
454- this . addError ( `Asset reference "${ this . info . fuseBoxPath } " has failed to resolve in module "${ this . collection && this . collection . name } "` ) ;
449+ if ( ! / \* / . test ( this . info . fuseBoxPath ) ) {
450+ if ( / \. j s ( x ) ? $ / . test ( this . info . fuseBoxPath ) && this . context . fuse && this . context . fuse . producer ) {
451+ this . context . fuse . producer . addWarning ( 'unresolved' ,
452+ `Statement "${ this . info . fuseBoxPath } " has failed to resolve in module "${ this . collection && this . collection . name } "` ) ;
453+ } else {
454+ this . addError ( `Asset reference "${ this . info . fuseBoxPath } " has failed to resolve in module "${ this . collection && this . collection . name } "` ) ;
455+ }
455456 }
456457 this . notFound = true ;
457458 return ;
You can’t perform that action at this time.
0 commit comments