Change the --update_comments flag to only update taze comments when blaze can't find the dep.
PiperOrigin-RevId: 272327174
diff --git a/ts_auto_deps/updater/updater.go b/ts_auto_deps/updater/updater.go
index f606e5b..d3ecc68 100644
--- a/ts_auto_deps/updater/updater.go
+++ b/ts_auto_deps/updater/updater.go
@@ -623,7 +623,6 @@
}
func (upd *Updater) addSourcesToBUILD(ctx context.Context, path string, buildFilePath string, bld *build.File, srcs srcSet) (bool, error) {
-
platform.Infof("Updating sources")
if len(srcs) == 0 && len(allTSRules(bld)) == 0 {
// No TypeScript rules/sources, no need to update anything