Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Explicitly check for true
  • Loading branch information
johnnyreilly authored May 6, 2021
commit 2f951fc48fc4c5aab130133bb2e49f01ae87e58e
2 changes: 1 addition & 1 deletion src/transformers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export function installTransformers(loaderOptions: LoaderOptions) {
if (loaderOptions.getCustomTransformers === undefined) {
return; //no need to patch if there is no transformer
}
if (patched) {
if (patched === true) {
return; //do not patch twice
}
patched = true;
Expand Down