Skip to content

Commit 6c6e1cb

Browse files
chore: drop shelljs
1 parent e8d1b90 commit 6c6e1cb

File tree

3 files changed

+19
-36
lines changed

3 files changed

+19
-36
lines changed

package-lock.json

Lines changed: 17 additions & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@
5151
"execa": "^1.0.0",
5252
"inquirer": "^6.2.0",
5353
"node-banner": "^1.3.2",
54-
"python-shell": "^1.0.7",
55-
"shelljs": "^0.8.3"
54+
"python-shell": "^1.0.7"
5655
},
5756
"devDependencies": {
5857
"@commitlint/cli": "^8.2.0",

src/utils/github.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@ const axios = require('axios');
44
const chalk = require('chalk');
55
const execa = require('execa');
66
const inquirer = require('inquirer');
7-
const { promisify } = require('util');
8-
const shell = require('shelljs');
9-
10-
const execAsync = promisify(shell.exec);
117

128
const validate = require('../utils/validate');
139

@@ -131,7 +127,7 @@ const makeLocalCommit = async taskCount => {
131127
*/
132128

133129
const pushToRemote = async () => {
134-
await execAsync('git push origin master', { silent: 'true' });
130+
await execa.shell('git push origin master');
135131
};
136132

137133
module.exports = {

0 commit comments

Comments
 (0)