* chore(commit.ts): change stagedFilesSpinner message when no files are staged
This commit is contained in:
@@ -79,7 +79,7 @@ export async function commit(isStageAllFlag = false) {
|
|||||||
.bold('`oc`')} command.`
|
.bold('`oc`')} command.`
|
||||||
);
|
);
|
||||||
|
|
||||||
stagedFilesSpinner.stop('Counting staged files');
|
stagedFilesSpinner.stop('No files are staged');
|
||||||
const isStageAllAndCommitConfirmedByUser = await confirm({
|
const isStageAllAndCommitConfirmedByUser = await confirm({
|
||||||
message: 'Do you want to stage all files and generate commit message?'
|
message: 'Do you want to stage all files and generate commit message?'
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user