@abhaydesu/git-pilot 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +0 -4
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -76,7 +76,6 @@ program
|
|
|
76
76
|
console.log(chalk.red("Commit aborted by user."));
|
|
77
77
|
}
|
|
78
78
|
} catch (error) {
|
|
79
|
-
if (spinner && spinner.isSpinning) spinner.fail('An error occurred.');
|
|
80
79
|
if (error.response) {
|
|
81
80
|
console.error(
|
|
82
81
|
chalk.red(
|
|
@@ -140,9 +139,6 @@ program
|
|
|
140
139
|
}
|
|
141
140
|
|
|
142
141
|
} catch (error) {
|
|
143
|
-
if (spinner && spinner.isSpinning)
|
|
144
|
-
spinner.fail('An error occurred.');
|
|
145
|
-
|
|
146
142
|
if (error.response) {
|
|
147
143
|
console.error(
|
|
148
144
|
chalk.red(`API Error: ${error.response.status} - ${error.response.data.error || 'No message'}`));
|