aboutsummaryrefslogtreecommitdiffstats
path: root/src/server/ConsoleInput.hx
diff options
context:
space:
mode:
authorRblSb <msrblsb@gmail.com>2021-10-13 17:09:08 +0300
committerRblSb <msrblsb@gmail.com>2021-10-13 17:09:08 +0300
commit575cc77af5258b87c79bdd500690774f6281348a (patch)
tree37929ec6d38d5f1291dd61be6223053f8a0f1f8f /src/server/ConsoleInput.hx
parente043a008063ec72c796409f0f15be5fc6dc8f41d (diff)
Stringify time in log
Diffstat (limited to 'src/server/ConsoleInput.hx')
-rw-r--r--src/server/ConsoleInput.hx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/server/ConsoleInput.hx b/src/server/ConsoleInput.hx
index 119d87e..4ae729c 100644
--- a/src/server/ConsoleInput.hx
+++ b/src/server/ConsoleInput.hx
@@ -135,8 +135,9 @@ class ConsoleInput {
case LogList:
Utils.ensureDir(main.logsDir);
- final names = FileSystem.readDirectory(main.logsDir)
- .filter(s -> s.endsWith(".json"));
+ final names = FileSystem.readDirectory(main.logsDir).filter(s -> {
+ return s.endsWith(".json");
+ });
for (name in names) {
trace(Path.withoutExtension(name));
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage