mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
fix: remove debug log
This commit is contained in:
1 parent
f03a544108
commit
c54bc68001
1 file changed
-2
@@ -101,7 +101,6 @@ export default class CommandHandler extends SessionHandler {
|
|||||||
async checkException(stage) {
|
async checkException(stage) {
|
||||||
const exceptions = stage.exceptions || []
|
const exceptions = stage.exceptions || []
|
||||||
for (const exception of exceptions) {
|
for (const exception of exceptions) {
|
||||||
console.log(exception)
|
|
||||||
// eslint-disable-next-line no-await-in-loop
|
// eslint-disable-next-line no-await-in-loop
|
||||||
if (exception.condition && (await this.isMatch(exception.condition))) {
|
if (exception.condition && (await this.isMatch(exception.condition))) {
|
||||||
return exception
|
return exception
|
||||||
@@ -132,7 +131,6 @@ export default class CommandHandler extends SessionHandler {
|
|||||||
// eslint-disable-next-line no-await-in-loop
|
// eslint-disable-next-line no-await-in-loop
|
||||||
const exception = await this.checkException(s)
|
const exception = await this.checkException(s)
|
||||||
if (exception) {
|
if (exception) {
|
||||||
console.log('Got exception', exception)
|
|
||||||
return this.executeException(exception)
|
return this.executeException(exception)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user