imsnif / synp

Convert yarn.lock to package-lock.json and vice versa
MIT License
757 stars 41 forks source link

sourceFile.split is not a function #97

Closed DiFuks closed 1 year ago

DiFuks commented 1 year ago

I use npm and workspaces. When I try to run the command synp --source-file --with-workspace package-lock.json, I get the error sourceFile.split is not a function

DiFuks commented 1 year ago

Sorry, I made a mistake in the syntax. Of course synp --with-workspace --source-file ./package-lock.json Everything works well, thanks!