Skip to content

Commit

Permalink
refactor: clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
a145789 committed Dec 26, 2022
1 parent a699991 commit 7d1dbfb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@
"dev": "esno src/setup.ts",
"test": "vitest",
"typecheck": "tsc --noEmit",
"re-major": "standard-version -r major",
"re-minor": "standard-version -r minor",
"re-patch": "standard-version -r patch",
"major": "standard-version -r major",
"minor": "standard-version -r minor",
"patch": "standard-version -r patch",
"release": "pnpm run build && pnpm publish --access public --no-git-checks"
},
"devDependencies": {
Expand Down
1 change: 0 additions & 1 deletion src/transform/emits.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ function transformEmits(
const { start, end } = getRealSpan(ast.span, offset);
return script.slice(start, end);
});
console.log(emitNames);
}

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

0 comments on commit 7d1dbfb

Please sign in to comment.