bennymeg / nx-electron

Electron schematics for nrwl nx platform
Apache License 2.0
307 stars 82 forks source link

Fix build version parsing from extraMetadata #297

Open Ant1B2x opened 1 week ago

Ant1B2x commented 1 week 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() :)