fix bug: package-lock translator not detecting devDependencies

This commit is contained in:
DavHau 2022-02-27 19:48:17 +07:00
parent 7ff0d5d0e8
commit 70f30b6eef

View File

@ -63,7 +63,7 @@ let
(tree.getNodeFromPath "${dirRelPath}/package.json").jsonContent;
hasNoDependencies =
! packageJson ? dependencies && ! packageJson ? devDependenices;
! packageJson ? dependencies && ! packageJson ? devDependencies;
in
if hasNoDependencies then