mirror of
https://github.com/tiktok/sparo.git
synced 2024-11-14 19:35:12 -05:00
chore: print exit code in error message
This commit is contained in:
parent
03e6bcb94a
commit
f5e91ca3f4
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ export class PullCommand implements ICommand<IPullCommandOptions> {
|
|||
|
||||
if (pullProcess.status !== 0) {
|
||||
// Pull failed
|
||||
throw new Error('"git pull" operation failed');
|
||||
throw new Error(`"git pull" operation failed (exit code ${pullProcess.status})`);
|
||||
}
|
||||
|
||||
// check whether profile exist in local branch
|
||||
|
|
Loading…
Reference in a new issue