Remove `blaze` from the conflict error message
Closes
@@ -22,12 +22,13 @@ import com.google.devtools.build.lib.vfs.PathFragment;
* lead to an error if both actions were executed in the same build.
*/
public class ArtifactPrefixConflictException extends Exception {
- public ArtifactPrefixConflictException(PathFragment firstPath, PathFragment secondPath,
- Label firstOwner, Label secondOwner) {
- super(String.format(
+ public ArtifactPrefixConflictException(
+ PathFragment firstPath, PathFragment secondPath, Label firstOwner, Label secondOwner) {
+ super(
+ String.format(
"output path '%s' (belonging to %s) is a prefix of output path '%s' (belonging to %s). "
- + "These actions cannot be simultaneously present; please rename one of the output files "
- + "or, as a last resort, run 'blaze clean' and then build just one of them",
+ + "These actions cannot be simultaneously present; please rename one of the output "
+ + "files or, as a last resort, run 'clean' and then build just one of them",
firstPath, firstOwner, secondPath, secondOwner));
}
}
