From 27334c7bd1868fd58ace3f31d2e69d8808fec77b Mon Sep 17 00:00:00 2001 From: Chi Vinh Le Date: Fri, 13 Jul 2018 16:07:51 -0300 Subject: [PATCH] Apply suggestions --- scripts/watcher/LongRunningExecutor.ts | 4 ++-- scripts/watcher/{ => types}/pstree.remy.d.ts | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename scripts/watcher/{ => types}/pstree.remy.d.ts (100%) diff --git a/scripts/watcher/LongRunningExecutor.ts b/scripts/watcher/LongRunningExecutor.ts index c1c1b4ff8..9abeedbc5 100644 --- a/scripts/watcher/LongRunningExecutor.ts +++ b/scripts/watcher/LongRunningExecutor.ts @@ -50,12 +50,12 @@ export default class LongRunningExecutor implements Executor { }); } - private async restart(): Promise { + private restart() { this.shouldRestart = true; return this.internalKill(); } - private async kill(): Promise { + private kill() { this.shouldRestart = false; return this.internalKill(); } diff --git a/scripts/watcher/pstree.remy.d.ts b/scripts/watcher/types/pstree.remy.d.ts similarity index 100% rename from scripts/watcher/pstree.remy.d.ts rename to scripts/watcher/types/pstree.remy.d.ts