-
Notifications
You must be signed in to change notification settings - Fork 71
Closed
Description
Changing a target name but not updating dependencies to use the new name throws a silent error.
Example
// Package A depends on "//packages/FOO"
ts_library(
...
deps = [
"//packages/FOO" # the full name of this target is //packages/FOO:FOO
]
)
// Package FOO
// Change FOO:FOO to FOO:BAR in BUILD file
ts_library(
name = "BAR" # used to be FOO
...
)
In the above example Package A is now depending on an invalid target after updating the name. This currently throws a silent error and the impacted files output will be blank.
Expected behavior is to throw an error so the user can be aware they have made an invalid change to the dependency graph.
Metadata
Metadata
Assignees
Labels
No labels