bennymeg / nx-electron

Electron schematics for nrwl nx platform
Apache License 2.0
328 stars 85 forks source link

Fix build version parsing from extraMetadata #297

Closed Ant1B2x closed 2 months ago

Ant1B2x commented 5 months ago

When manually passing a build version using extraMetadata, as in:

nx build my-application --configuration=production --extraMetadata.version='2.0.1'

and then starting the application, an error like this happens:

Screenshot 2024-06-25 at 14 15 09

So I propose to fix it by wrapping it with JSON.stringify() :)

bennymeg commented 2 months ago

Thanks 🧐