diff --git a/src/chrome-launcher.ts b/src/chrome-launcher.ts index d68a2bf31..6dfa4e08e 100644 --- a/src/chrome-launcher.ts +++ b/src/chrome-launcher.ts @@ -410,7 +410,7 @@ class Launcher { this.fs.closeSync(this.errFile); delete this.errFile; } - + // backwards support for node v12 + v14.14+ // https://nodejs.org/api/deprecations.html#DEP0147 const rm = this.fs.rm || this.fs.rmdir;