Skip to content

Commit

Permalink
fix: use https instead of ssh for git cloning
Browse files Browse the repository at this point in the history
This is so that users running the `dev generate plugin` command don't have to have ssh keys setup.
  • Loading branch information
RodEsp authored Aug 3, 2022
1 parent dc9d45a commit f248be6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generators/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export default class Plugin extends Generator {
]);

const directory = path.resolve(this.answers.name);
exec(`git clone git@github.com:salesforcecli/plugin-template-sf.git ${directory}`);
exec(`git clone https://github.com/salesforcecli/plugin-template-sf.git ${directory}`);
fs.rmSync(`${path.resolve(this.answers.name, '.git')}`, { recursive: true });
this.destinationRoot(directory);
this.env.cwd = this.destinationPath();
Expand Down

0 comments on commit f248be6

Please sign in to comment.