refactor: 1

This commit is contained in:
xiaojunnuo
2021-03-16 18:25:11 +08:00
parent f4f8067a12
commit 803083d23c
2 changed files with 9 additions and 6 deletions
+3 -1
View File
@@ -76,7 +76,9 @@ export class Trace {
}
}
const result = this.get({ type: 'result' })
this.printTraceLine(result, 'result', '')
if (result) {
this.printTraceLine(result, 'result', '')
}
const mainContext = {}
_.merge(mainContext, context)
delete mainContext.__trace__