aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/google/devtools')
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/repository/RepositoryLoaderFunction.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/repository/RepositoryLoaderFunction.java b/src/main/java/com/google/devtools/build/lib/rules/repository/RepositoryLoaderFunction.java
index a225672b61..f4efc06780 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/repository/RepositoryLoaderFunction.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/repository/RepositoryLoaderFunction.java
@@ -68,9 +68,9 @@ public class RepositoryLoaderFunction implements SkyFunction {
if (!workspaceName.isDefault() && !nameFromRule.equals(workspaceName)) {
Path workspacePath = repository.getPath().getRelative("WORKSPACE");
env.getListener().handle(Event.warn(Location.fromFile(workspacePath),
- "Workspace name in " + workspacePath + " (" + workspaceName + ") does not match name "
- + " given in the repository's definition (" + nameFromRule + "), this will cause "
- + " a build error in future versions."));
+ "Workspace name in " + workspacePath + " (" + workspaceName + ") does not match the "
+ + "name given in the repository's definition (" + nameFromRule + "); this will "
+ + "cause a build error in future versions."));
}
return new RepositoryValue(nameFromRule, repository);