Skip to content

Commit

Permalink
fix return type of transform
Browse files Browse the repository at this point in the history
  • Loading branch information
yannbf committed Aug 26, 2022
1 parent a8dad66 commit 7f2ca3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playwright/transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ module.exports = {
],
});

return result ? { code: result.code } : src;
return { code: result ? result.code : src };
},
};

0 comments on commit 7f2ca3d

Please sign in to comment.