Skip to content

Commit

Permalink
run git clone silently
Browse files Browse the repository at this point in the history
  • Loading branch information
taslangraham committed Mar 12, 2022
1 parent edfc69d commit a79887e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tode-cli",
"version": "1.0.2-alpha",
"version": "1.0.3-alpha",
"author": "Taslan Graham",
"bin": {
"tode": "bin/run"
Expand Down
2 changes: 1 addition & 1 deletion src/commands/create-project/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default class CreateProject extends Command {
Log(chalk.green(`Generating Project - ${chalk.yellow(projectName)} ....`));

const cloneCommand = `git clone ${starterTemplateRepo} --depth 1 --branch ${releaseTag} ${projectName}`;
const creation = await shell.exec(cloneCommand, { silent: false, timeout: 1500 });
const creation = await shell.exec(cloneCommand, { silent: true, timeout: 1500 });

if (creation.code !== SUCCESS_EXIT_CODE) {
throw new Error('Failed to create project. Please ensure you have an internet connection.');
Expand Down

0 comments on commit a79887e

Please sign in to comment.