Skip to content

Commit 84c094a

Browse files
author
--global
committed
refactor: review微调
1 parent 5b4493b commit 84c094a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/taro-cli/postinstall.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@ axios.get('https://taro.jd.com/', { timeout: 5000 })
1010
})
1111
})
1212
.catch(() => {
13+
console.log('cli postinstall success too')
1314
})

packages/taro-service/src/utils/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export function filterGlobalConfig (globalConfig: IProjectConfig, command: strin
124124
}
125125
const config = globalConfig
126126

127-
const RelatedPluginTag = `@jdtaro/plugin-${command}`
127+
const RelatedPluginTag = `@jdtaro/plugin-${command}-`
128128
if (config.plugins?.length) {
129129
config.plugins = config.plugins.filter(pluginName => {
130130
return pluginName.includes(RelatedPluginTag)

0 commit comments

Comments
 (0)