armano2/npm-to-yarn

`--save-exact` for `npm install` isn't converted correctly

Closed this issue · 1 comments

favna commented

Describe the bug
I found this fork through your contribution to Docusaurus. Seeing as the source repository appears to be dead I'm creating the issue here hoping you can fix this.

There is currently a bug with npm install pkg --save-exact getting converted to yarn add pkg-exact instead of yarn add pkg --exact

To Reproduce
Steps to reproduce the behavior:

  1. Pass npm install pkg --save-exact to the npm-to-yarn with second argument set to yarn
  2. Observe result

Expected behavior
Gets converted to yarn add pkg --exact

Package & Environment Details

  • Environment: Node v18.4.0
  • Version: 1.1.1

Additional context
N.A.

fixed in npm-to-yarn