File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -126,17 +126,17 @@ export interface ExecuteCommandOptions extends InstallCommandOptions {
126126}
127127
128128function getCreatePackageSpecifier ( options : ExecuteCommandOptions ) : string | null {
129- const { packageName, packageManager, isCreatePackage } = options
130-
131- if ( ! isCreatePackage ) {
129+ if ( ! options . isCreatePackage ) {
132130 return null
133131 }
134- const shortName = getCreateShortName ( packageName )
135- if ( shortName === packageName ) {
132+
133+ const shortName = getCreateShortName ( options . packageName )
134+ if ( shortName === options . packageName ) {
136135 return null
137136 }
138- if ( packageManager === 'deno' ) {
139- // npm compatibility: npm:package
137+
138+ if ( options . packageManager === 'deno' ) {
139+ // npm compatibility: npm:package-name
140140 return `npm:${ shortName } `
141141 }
142142
You can’t perform that action at this time.
0 commit comments