Skip to content

Commit 61cae70

Browse files
committed
chore: fix the shorthand for the help parameter
1 parent 2b8c49e commit 61cae70

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

bin/vue-codemod.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import * as globby from 'globby'
1010
import createDebug from 'debug'
1111

1212
import builtInTransformations from '../transformations'
13-
import { excludedTransformations } from "../transformations"
13+
import { excludedTransformations } from '../transformations'
1414
import vueTransformations from '../vue-transformations'
1515
import runTransformation from '../src/runTransformation'
1616

@@ -52,7 +52,8 @@ const {
5252
'Run slot-attribute rule to convert HelloWorld.vue',
5353
],
5454
])
55-
.help().argv
55+
.help()
56+
.alias('h', 'help').argv
5657

5758
// TODO: port the `Runner` interface of jscodeshift
5859
async function main() {
@@ -105,6 +106,7 @@ function processTransformation(
105106
continue
106107
}
107108
try {
109+
debug(`Processing file: ${fileInfo.path}`)
108110
const result = runTransformation(
109111
fileInfo,
110112
transformationModule,

0 commit comments

Comments
 (0)