criticalmanufacturing / cli

Critical Manufacturing Projects Command Line Tool
https://criticalmanufacturing.github.io/cli/
BSD 3-Clause "New" or "Revised" License
10 stars 25 forks source link

fix(bump): support single and double quotes on metadata ts file #227

Closed joaoopereira closed 1 year ago

joaoopereira commented 1 year ago

when the bump command run in a package with the type Presentation (currently: Help, HTML or IoT), the version inside of the *metadata.ts will be also updated. in TypeScript " or ' are valid string delimiters, and cli was only expecting ".

this PR adds the support for both scenarios, " and '.