From 3d70eb53dc47bf3d06aed451c6af21d3059aeba9 Mon Sep 17 00:00:00 2001 From: Ermolay Romanov Date: Sat, 25 Jan 2020 09:31:22 -0500 Subject: [PATCH] always return an array from getManifestFileDeps --- client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.js b/client.js index 2de880e..fddd13e 100644 --- a/client.js +++ b/client.js @@ -120,7 +120,7 @@ function getManifestFileDeps () { const manifest = (browser || chrome).runtime.getManifest() const manifestStr = JSON.stringify(manifest) - return manifestStr.match(fileRegex) + return manifestStr.match(fileRegex) || [] } /**