We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 261bc43 commit d2f41f4Copy full SHA for d2f41f4
src/utils/github.js
@@ -4,7 +4,6 @@ const axios = require('axios');
4
const chalk = require('chalk');
5
const execa = require('execa');
6
const inquirer = require('inquirer');
7
-const ora = require('ora');
8
9
const validate = require('./validate');
10
@@ -146,14 +145,7 @@ const makeLocalCommit = async taskCount => {
146
145
147
const pushToRemote = async () => {
148
console.log();
149
- const spinner = ora('Pushing to GitHub').start();
150
- try {
151
- await execa.shell('git push origin master');
152
- } catch (err) {
153
- spinner.fail('Something went wrong');
154
- throw err;
155
- }
156
- spinner.succeed('Saved user progress');
+ await execa.shell('git push origin master', { stdio: 'inherit' });
157
};
158
159
module.exports = {
0 commit comments