fix: 手动打包 Proxy 问题(#91)
* perf: 检查代码 * feat: proxy setting * chore: 调整为测试环境使用 `proxy`
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
function includeCode(text: string | null | undefined) {
|
||||
const regexp = /^(?:\s{4}|\t).+/gm
|
||||
if (text?.includes(' = ') || text?.match(regexp))
|
||||
return true
|
||||
return false
|
||||
return !!(text?.includes(' = ') || text?.match(regexp))
|
||||
}
|
||||
|
||||
export default includeCode
|
||||
|
||||
Reference in New Issue
Block a user