Skip to content

Commit 7d1dbfb

Browse files
committed
refactor: clean code
1 parent a699991 commit 7d1dbfb

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@
4848
"dev": "esno src/setup.ts",
4949
"test": "vitest",
5050
"typecheck": "tsc --noEmit",
51-
"re-major": "standard-version -r major",
52-
"re-minor": "standard-version -r minor",
53-
"re-patch": "standard-version -r patch",
51+
"major": "standard-version -r major",
52+
"minor": "standard-version -r minor",
53+
"patch": "standard-version -r patch",
5454
"release": "pnpm run build && pnpm publish --access public --no-git-checks"
5555
},
5656
"devDependencies": {

src/transform/emits.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ function transformEmits(
115115
const { start, end } = getRealSpan(ast.span, offset);
116116
return script.slice(start, end);
117117
});
118-
console.log(emitNames);
119118
}
120119

121120
str = `${preCode}defineEmits([${[...new Set([...keys, ...emitNames])].join(

0 commit comments

Comments
 (0)