fix getstack for gen.ef
parent
a468090041
commit
368485f50d
2
index.js
2
index.js
|
@ -158,7 +158,7 @@ function errorFirst()
|
||||||
throw new Error('Broken control flow! Callback'+
|
throw new Error('Broken control flow! Callback'+
|
||||||
getStack(thread._current)+
|
getStack(thread._current)+
|
||||||
'\nmust be called to resume thread, but this one is called instead:'+
|
'\nmust be called to resume thread, but this one is called instead:'+
|
||||||
getStack(fn._stack)+'\n--'
|
getStack(fn)+'\n--'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
if (arguments[0])
|
if (arguments[0])
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "gen-thread",
|
"name": "gen-thread",
|
||||||
"version": "1.0.3",
|
"version": "1.0.4",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Vitaliy Filippov",
|
"name": "Vitaliy Filippov",
|
||||||
"email": "vitalif@yourcmc.ru"
|
"email": "vitalif@yourcmc.ru"
|
||||||
|
|
Loading…
Reference in New Issue