Make debug dump file names consistent (#9075)
This commit is contained in:
parent
11ab383e4f
commit
7a96bf2095
2 changed files with 4 additions and 4 deletions
|
@ -250,7 +250,7 @@ index 0000000000000000000000000000000000000000..f0fce4113fb07c64adbec029d177c236
|
|||
+}
|
||||
diff --git a/src/main/java/io/papermc/paper/command/subcommands/DumpPluginsCommand.java b/src/main/java/io/papermc/paper/command/subcommands/DumpPluginsCommand.java
|
||||
new file mode 100644
|
||||
index 0000000000000000000000000000000000000000..7159c72408f556d676eded668057a4c5ebb21719
|
||||
index 0000000000000000000000000000000000000000..615902ac9fd341d6624d8fdb1c2ae6cc9abf9554
|
||||
--- /dev/null
|
||||
+++ b/src/main/java/io/papermc/paper/command/subcommands/DumpPluginsCommand.java
|
||||
@@ -0,0 +1,200 @@
|
||||
|
@ -313,7 +313,7 @@ index 0000000000000000000000000000000000000000..7159c72408f556d676eded668057a4c5
|
|||
+
|
||||
+ private void dumpPlugins(final CommandSender sender, final String[] args) {
|
||||
+ Path parent = Path.of("debug");
|
||||
+ Path path = parent.resolve("plugin-info" + FORMATTER.format(LocalDateTime.now()) + ".txt");
|
||||
+ Path path = parent.resolve("plugin-info-" + FORMATTER.format(LocalDateTime.now()) + ".txt");
|
||||
+ try {
|
||||
+ Files.createDirectories(parent);
|
||||
+ Files.createFile(path);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue