Skip to content

Commit

Permalink
Fix jest test
Browse files Browse the repository at this point in the history
  • Loading branch information
qn895 committed Sep 12, 2022
1 parent ff35926 commit efe1d8c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export const installTransforms = async (
) => {
const transformPaths = paths.filter((path) => isTransform(path));
// If package contains legacy transform specifications (i.e. with json instead of yml)
if (transformPaths.some((p) => p.endsWith('.json'))) {
if (transformPaths.some((p) => p.endsWith('.json')) || transformPaths.length === 0) {
return await installLegacyTransforms(
installablePackage,
paths,
Expand Down

0 comments on commit efe1d8c

Please sign in to comment.