Skip to content

Commit 797321c

Browse files
committed
remove(main): remove old function
1 parent d380ce5 commit 797321c

2 files changed

Lines changed: 0 additions & 3 deletions

File tree

lib/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ program
9494
.option('-D, --dry-run', 'run dry-run mode')
9595
.option('-i, --interactive', 'run interactive mode')
9696
.option('-S, --silent', "don't show commit command")
97-
.option('-t, --typo-check', `${colors.error}[Already deleted this function]${colors.reset} check spell`)
9897
.on('--help', () => {
9998
console.log('')
10099
console.log('File Paths:')

lib/main.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,8 +264,6 @@ module.exports = async (program, template, definitions) => {
264264
if (!program.dryRun) checkAddedFile()
265265

266266
await replaceTerms(program, template, definitions, (commitMessage) => {
267-
if (program.typoCheck) console.log(`${colors.warning}[Already Deleted Warning] '--typo-check' option is already deleted. sorry.${colors.reset}`)
268-
269267
gitCommit(commitMessage.trim(), program.duet, program.silent, program.dryRun)
270268
})
271269
}

0 commit comments

Comments
 (0)