File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ export default class Plugin extends Generator {
9191 const templateRepo = this . answers . internal
9292 ? 'git clone https://github.com/salesforcecli/plugin-template-sf.git'
9393 : 'git clone https://github.com/salesforcecli/plugin-template-sf-external.git' ;
94- shelljs . exec ( `${ templateRepo } ${ directory } ` ) ;
94+ shelljs . exec ( `${ templateRepo } " ${ directory } " ` ) ;
9595 try {
9696 fs . rmSync ( `${ path . resolve ( this . answers . name , '.git' ) } ` , { recursive : true } ) ;
9797 } catch {
@@ -105,7 +105,7 @@ export default class Plugin extends Generator {
105105 }
106106
107107 public writing ( ) : void {
108- const pjson = readJson < PackageJson > ( path . join ( this . env . cwd , 'package.json' ) ) ;
108+ const pjson = readJson < PackageJson > ( path . normalize ( path . join ( this . env . cwd , 'package.json' ) ) ) ;
109109
110110 this . sourceRoot ( TEMPLATES_DIR ) ;
111111
You can’t perform that action at this time.
0 commit comments