File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -317,6 +317,12 @@ export function initApp(commandLineValues: CommandLineOptions) {
317
317
computeJsStaticPublisherVersion = '^4.0.0' ;
318
318
}
319
319
320
+ if ( ! computeJsStaticPublisherVersion . startsWith ( '^' ) &&
321
+ ! computeJsStaticPublisherVersion . startsWith ( 'file:' )
322
+ ) {
323
+ computeJsStaticPublisherVersion = '^' + computeJsStaticPublisherVersion ;
324
+ }
325
+
320
326
const commandLineAppOptions = processCommandLineArgs ( commandLineValues ) ;
321
327
322
328
type PackageJsonAppOptions = Pick < AppOptions , 'author' | 'name' | 'description' > ;
@@ -531,7 +537,7 @@ ${staticFiles}
531
537
type : 'module' ,
532
538
devDependencies : {
533
539
"@fastly/cli" : "^10.14.0" ,
534
- '@fastly/compute-js-static-publish' : "^" + computeJsStaticPublisherVersion ,
540
+ '@fastly/compute-js-static-publish' : computeJsStaticPublisherVersion ,
535
541
} ,
536
542
dependencies : {
537
543
'@fastly/js-compute' : '^3.0.0' ,
You can’t perform that action at this time.
0 commit comments