Skip to content

Commit 5db2e72

Browse files
authored
Remove unused Loc
1 parent 3cbfeae commit 5db2e72

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

generators/git/generator.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ export default class GitGenerator extends BaseGenerator<GitConfig, GitOptions> {
127127
this.log.debug('Committing files to git');
128128
const git = this.createGit();
129129
const repositoryRoot = await git.revparse(['--show-toplevel']);
130-
const msg = await git.log(['-n', '1']).catch(() => ({ total: 0 }));
131130
const result = await git.log(['-n', '1', '--', '.yo-rc.json']).catch(() => ({ total: 0 }));
132131
const existingApplication = result.total > 0;
133132
if (existingApplication && !this.options.forceGit) {

0 commit comments

Comments
 (0)