Skip to content

Commit a6a8ded

Browse files
committed
更新[EnvJs]: 删除多余日志输出
1 parent d63a8a4 commit a6a8ded

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

‎Env.js‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,12 +265,10 @@ function Env(name, opts) {
265265
const toEnvOpts = (rawopts) => {
266266
if (!rawopts || (!this.isLoon() && this.isSurge())) return rawopts
267267
if (typeof rawopts === 'string') {
268-
this.logs.push('string')
269268
if (this.isLoon()) return rawopts
270269
else if (this.isQuanX()) return { 'open-url': rawopts }
271270
else return undefined
272271
} else if (typeof rawopts === 'object' && (rawopts['open-url'] || rawopts['media-url'])) {
273-
this.logs.push('object')
274272
if (this.isLoon()) return rawopts['open-url']
275273
else if (this.isQuanX()) return rawopts
276274
else undefined

‎Env.min.js‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)