mirror of
https://github.com/grpc/grpc-node.git
synced 2025-12-08 18:23:54 +00:00
Fix typo in error message
This commit is contained in:
parent
1d7ed8167a
commit
f9311fceca
@ -285,7 +285,7 @@ export function loadSync(filename: string, options?: Options): PackageDefinition
|
||||
options = options || {};
|
||||
if (!!options.includeDirs) {
|
||||
if (!(Array.isArray(options.includeDirs))) {
|
||||
throw new Error('The include option must be an array');
|
||||
throw new Error('The includeDirs option must be an array');
|
||||
}
|
||||
addIncludePathResolver(root, options.includeDirs as string[]);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user