diff --git a/src/Commands/runVerifyUnpushedCommitsCommand.ts b/src/Commands/runVerifyUnpushedCommitsCommand.ts index 0262839..697b9e4 100644 --- a/src/Commands/runVerifyUnpushedCommitsCommand.ts +++ b/src/Commands/runVerifyUnpushedCommitsCommand.ts @@ -16,6 +16,10 @@ export function runVerifyUnpushedCommitsCommand(args: Array, root: strin process.exit(verificationStatus === VerificationStatus.VERIFIED ? 0 : 1); }).catch((reason: any) => { console.log("An error occured while verifying unpushed commits, reason: ", reason); + if(reason.stack) { + console.log("Stack trace:"); + console.log(reason.stack); + } process.exit(1); }) diff --git a/src/Console/FileTagger.ts b/src/Console/FileTagger.ts index 2a47b93..44d044e 100644 --- a/src/Console/FileTagger.ts +++ b/src/Console/FileTagger.ts @@ -1,11 +1,11 @@ import { Commit } from "nodegit"; +import { getFileDirectoryPath } from "../FileSystem/fileSystemUtils"; import { GitRepository } from "../Git/GitRepository"; import { FileData } from "../Git/Types"; import { FileTagsDatabase, TagIdentifier } from "../Scope/FileTagsDatabase"; import { TagsDefinitionFile } from "../Scope/TagsDefinitionFile"; import { TagManager } from "./TagManager"; import { YesNoMenu } from "./YesNoMenu"; -import { getFileDirectoryPath } from "../FileSystem/fileSystemUtils"; const { MultiSelect } = require('enquirer'); @@ -160,7 +160,7 @@ export class FileTagger { private async _selectFiles(fileData: Array): Promise { const prompt = new MultiSelect({ name: 'value', - message: 'Select files to apply the same tags and use ENTER to confirm', + message: 'Select files with SPACE to apply the same tags, use ENTER to confirm', footer: 'CTRL+C to go to next step, G to select whole group', limit: 10, choices: this._mapFileDataToOptions(fileData),