proto-loader: Warn if file not found in imports

This commit is contained in:
Michael Lumish 2020-03-13 13:46:09 -07:00
parent 2ca96a322f
commit 0c3b93fc3a
1 changed files with 1 additions and 0 deletions

View File

@ -302,6 +302,7 @@ function addIncludePathResolver(root: Protobuf.Root, includePaths: string[]) {
continue; continue;
} }
} }
process.emitWarning(`${target} not found in any of the include paths ${includePaths}`);
return originalResolvePath(origin, target); return originalResolvePath(origin, target);
}; };
} }