fix: remove stackTraceLimit Infinity for DEBUG (#5318)

pull/5313/merge
Bjorn Lu 2 months ago committed by GitHub
parent 3868b64e41
commit 865d04b252
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -13,10 +13,6 @@ import { init } from './init/init'
import { clearCache } from './markdownToVue' import { clearCache } from './markdownToVue'
import { bindShortcuts } from './shortcuts' import { bindShortcuts } from './shortcuts'
if (process.env.DEBUG) {
Error.stackTraceLimit = Infinity
}
const argv: any = minimist(process.argv.slice(2)) const argv: any = minimist(process.argv.slice(2))
Object.keys(argv).forEach((key) => { Object.keys(argv).forEach((key) => {

Loading…
Cancel
Save