gimme all of it
This commit is contained in:
parent
e7201e691c
commit
f4e24f427f
|
|
@ -72,7 +72,6 @@ export function toValue(v: any, vm?: VM): Value /* throws */ {
|
||||||
const stackLines = stack.split('\n')
|
const stackLines = stack.split('\n')
|
||||||
.slice(1)
|
.slice(1)
|
||||||
.filter(line => !line.includes('toValue'))
|
.filter(line => !line.includes('toValue'))
|
||||||
.slice(0, 3)
|
|
||||||
.map(line => ' ' + line.trim())
|
.map(line => ' ' + line.trim())
|
||||||
.join('\n')
|
.join('\n')
|
||||||
throw new Error(
|
throw new Error(
|
||||||
|
|
@ -201,7 +200,6 @@ export function fromValue(v: Value, vm?: VM): any {
|
||||||
const stackLines = stack.split('\n')
|
const stackLines = stack.split('\n')
|
||||||
.slice(1)
|
.slice(1)
|
||||||
.filter(line => !line.includes('fromValue'))
|
.filter(line => !line.includes('fromValue'))
|
||||||
.slice(0, 3)
|
|
||||||
.map(line => ' ' + line.trim())
|
.map(line => ' ' + line.trim())
|
||||||
.join('\n')
|
.join('\n')
|
||||||
throw new Error(
|
throw new Error(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user