summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorFeiko Joosten <feiko_joosten@hotmail.com>2020-07-22 09:14:14 +0200
committerGitHub <noreply@github.com>2020-07-22 09:14:14 +0200
commit3f986842f7e00b05628b68886c037446894becc6 (patch)
treef6497acde299aaf35e81b64f7c021b1a3f00a9f5
parentChanged tail to make use of watch file. (diff)
downloadshulker-3f986842f7e00b05628b68886c037446894becc6.tar.gz
shulker-3f986842f7e00b05628b68886c037446894becc6.zip
Fixed coding style
Fixed the coding style based on @destruc7i0n's feedback.
-rw-r--r--src/MinecraftHandler.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/MinecraftHandler.ts b/src/MinecraftHandler.ts
index 1b741f0..7a81718 100644
--- a/src/MinecraftHandler.ts
+++ b/src/MinecraftHandler.ts
@@ -180,8 +180,7 @@ class MinecraftHandler {
   private initTail (callback: Callback) {
     if (fs.existsSync(this.config.LOCAL_FILE_PATH)) {
       console.log(`[INFO] Using configuration for local log file at "${this.config.LOCAL_FILE_PATH}"`)
-	    var options= {useWatchFile: true}
-      this.tail = new Tail(this.config.LOCAL_FILE_PATH, options)
+      this.tail = new Tail(this.config.LOCAL_FILE_PATH, {useWatchFile: true})
     } else {
       throw new Error(`[ERROR] Local log file not found at "${this.config.LOCAL_FILE_PATH}"`)
     }