We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0060954 + 5b5dbdd commit fb78742Copy full SHA for fb78742
src/cli/commands/init-app.ts
@@ -317,6 +317,12 @@ export function initApp(commandLineValues: CommandLineOptions) {
317
computeJsStaticPublisherVersion = '^4.0.0';
318
}
319
320
+ if (!computeJsStaticPublisherVersion.startsWith('^') &&
321
+ !computeJsStaticPublisherVersion.startsWith('file:')
322
+ ) {
323
+ computeJsStaticPublisherVersion = '^' + computeJsStaticPublisherVersion;
324
+ }
325
+
326
const commandLineAppOptions = processCommandLineArgs(commandLineValues);
327
328
type PackageJsonAppOptions = Pick<AppOptions, 'author' | 'name' | 'description'>;
0 commit comments