Skip to content

Commit

Permalink
Merge pull request #199 from icelam/fix/v1/missing-script-logic
Browse files Browse the repository at this point in the history
fix: invalid logic on missing script check
  • Loading branch information
icelam authored Jul 4, 2021
2 parents 3a2f4cb + aa66df0 commit 5a050bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HtmlInlineScriptPlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class HtmlInlineScriptPlugin implements Plugin {

const asset = assets[scriptName];

if (!tag) {
if (!asset) {
return tag;
}

Expand Down

0 comments on commit 5a050bb

Please sign in to comment.