From 368485f50df5a9061eca9189b9d366ca3b618c6c Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Sat, 27 Aug 2016 23:36:34 +0300 Subject: [PATCH] fix getstack for gen.ef --- index.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index ca1af50..625e1f5 100644 --- a/index.js +++ b/index.js @@ -158,7 +158,7 @@ function errorFirst() throw new Error('Broken control flow! Callback'+ getStack(thread._current)+ '\nmust be called to resume thread, but this one is called instead:'+ - getStack(fn._stack)+'\n--' + getStack(fn)+'\n--' ); } if (arguments[0]) diff --git a/package.json b/package.json index d3d30d3..407836c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gen-thread", - "version": "1.0.3", + "version": "1.0.4", "author": { "name": "Vitaliy Filippov", "email": "vitalif@yourcmc.ru"