File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -98,9 +98,12 @@ searchAndReplace(
98
98
// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1208.
99
99
applyPatch ( path . join ( __dirname , './manifest_externs_hermeticity.patch' ) ) ;
100
100
101
- // Pre-req for https://github.com/angular/angular/pull/36333. Can be removed
102
- // once @angular /bazel is updated here to include this patch.
103
- applyPatch ( path . join ( __dirname , './@angular_bazel_ng_module.patch' ) ) ;
101
+ try {
102
+ // Temporary patch pre-req for https://github.com/angular/angular/pull/36333.
103
+ // Can be removed once @angular /bazel is updated here to include this patch.
104
+ // try/catch needed for this the material CI tests to work in angular/repo
105
+ applyPatch ( path . join ( __dirname , './@angular_bazel_ng_module.patch' ) ) ;
106
+ } catch ( _ ) { }
104
107
105
108
// Workaround for https://github.com/angular/angular/issues/33452:
106
109
searchAndReplace ( / a n g u l a r _ c o m p i l e r _ o p t i o n s = { / , `$&
You can’t perform that action at this time.
0 commit comments