File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -537,19 +537,6 @@ def _CheckDartApiWinCSync(input_api, output_api):
537537 return []
538538
539539
540- def _CheckNoRuntimeObservatoryChanges (input_api , output_api ):
541- """Ensures that no further changes are made to runtime/observatory."""
542- for f in input_api .AffectedFiles (include_deletes = False ):
543- path = f .LocalPath ()
544- if path .startswith ("runtime/observatory/" ):
545- return [
546- output_api .PresubmitError (
547- 'Observatory is being moved to pkg/observatory. Files under '
548- 'runtime/observatory should no longer be modified.' )
549- ]
550- return []
551-
552-
553540def _CommonChecks (input_api , output_api ):
554541 results = []
555542 results .extend (_CheckValidHostsInDEPS (input_api , output_api ))
@@ -565,7 +552,6 @@ def _CommonChecks(input_api, output_api):
565552 results .extend (_CheckAnalyzerFiles (input_api , output_api ))
566553 results .extend (_CheckDevCompilerSync (input_api , output_api ))
567554 results .extend (_CheckDartApiWinCSync (input_api , output_api ))
568- results .extend (_CheckNoRuntimeObservatoryChanges (input_api , output_api ))
569555 return results
570556
571557
You can’t perform that action at this time.
0 commit comments