We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6b2822 commit a3a8104Copy full SHA for a3a8104
transformations/remove-vue-use.ts
@@ -36,7 +36,7 @@ export const transformAST: ASTTransformation<Params> = (
36
const removableUseCalls = vueUseCalls.filter(({ node }) => {
37
if (j.Identifier.check(node.arguments[0])) {
38
const plugin = node.arguments[0].name
39
- if (removablePlugins.includes(plugin)) {
+ if (removablePlugins?.includes(plugin)) {
40
removedPlugins.push(plugin)
41
return true
42
}
0 commit comments