Skip to content

Commit 62065f8

Browse files
authored
Remove spurious parenthesis in URS command output (#2767)
It was making the undo nomulus command look like this: )nomulus ...
1 parent c9ac943 commit 62065f8

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

core/src/main/java/google/registry/tools/UniformRapidSuspensionCommand.java

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -251,11 +251,12 @@ protected String postExecute() {
251251
if (undo) {
252252
return "";
253253
}
254-
StringBuilder undoBuilder = new StringBuilder("UNDO COMMAND:\n\n)")
255-
.append("nomulus -e ")
256-
.append(RegistryToolEnvironment.get())
257-
.append(" uniform_rapid_suspension --undo --domain_name ")
258-
.append(domainName);
254+
StringBuilder undoBuilder =
255+
new StringBuilder("UNDO COMMAND:\n\n")
256+
.append("nomulus -e ")
257+
.append(RegistryToolEnvironment.get())
258+
.append(" uniform_rapid_suspension --undo --domain_name ")
259+
.append(domainName);
259260
if (!existingNameservers.isEmpty()) {
260261
undoBuilder.append(" --hosts ").append(Joiner.on(',').join(existingNameservers));
261262
}

0 commit comments

Comments
 (0)