Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 943f66b

Browse files
committed
A couple more bugfixes.
1 parent a0cff33 commit 943f66b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

internal/common/closure.bzl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ def _closure_aspect_impl(target, ctx):
2424
es5_sources=depset(srcs),
2525
transitive_es5_sources=transitive_es5_srcs,
2626
type_blacklisted_declarations=depset(transitive=[dep.typescript.type_blacklisted_declarations for dep in deps]),
27-
runtime_deps=depset(transitive=[d.typescript.runtime_deps for d in deps]),
2827
tsickle_externs=[],
2928
replay_params=None,
3029
devmode_manifest=None,

internal/tsc_wrapped/compiler_host.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ export class CompilerHost implements ts.CompilerHost, tsickle.TsickleHost {
143143

144144
/** Allows suppressing warnings for specific known libraries */
145145
shouldIgnoreWarningsForPath(filePath: string): boolean {
146-
return this.bazelOpts.ignoreWarningPaths.some(
146+
return this.bazelOpts.ignoreWarningPaths && this.bazelOpts.ignoreWarningPaths.some(
147147
p => !!filePath.match(new RegExp(p)));
148148
}
149149

0 commit comments

Comments
 (0)