Skip to content

Commit

Permalink
always return an array from getManifestFileDeps
Browse files Browse the repository at this point in the history
  • Loading branch information
ermik committed Jan 25, 2020
1 parent 51e7988 commit 3d70eb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) || []
}

/**
Expand Down

0 comments on commit 3d70eb5

Please # to comment.