Skip to content

Commit

Permalink
Merge pull request #41 from kik4/fix/jest-inline-snapshot
Browse files Browse the repository at this point in the history
fix: skip task if the options are undefined
  • Loading branch information
tqwewe authored Oct 26, 2021
2 parents 08903c1 + 4380a60 commit 067dfc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parsers/typescript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default (twClassesSorter: TWClassesSorter) => ({
options
)

if (!twClassesSorter) {
if (!twClassesSorter || typeof options === 'undefined') {
return ast
}

Expand Down

0 comments on commit 067dfc8

Please sign in to comment.