@jdeighan/coffee-utils 7.0.0 → 7.0.1
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/call_stack.coffee +2 -2
- package/src/call_stack.js +2 -2
package/package.json
CHANGED
package/src/call_stack.coffee
CHANGED
@@ -93,13 +93,13 @@ export class CallStack
|
|
93
93
|
auxPre = getPrefix(@level, 'returnVal')
|
94
94
|
|
95
95
|
if @lStack.length == 0
|
96
|
-
LOG "returnFrom('#{
|
96
|
+
LOG "returnFrom('#{funcName}') but stack is empty"
|
97
97
|
return [mainPre, auxPre, undef]
|
98
98
|
|
99
99
|
hInfo = @removeCall(funcName)
|
100
100
|
if doDebugStack
|
101
101
|
prefix = ' '.repeat(@lStack.length)
|
102
|
-
LOG "#{prefix}[<-- BACK #{
|
102
|
+
LOG "#{prefix}[<-- BACK #{funcName}]"
|
103
103
|
|
104
104
|
return [mainPre, auxPre, hInfo]
|
105
105
|
|
package/src/call_stack.js
CHANGED
@@ -99,13 +99,13 @@ export var CallStack = class CallStack {
|
|
99
99
|
mainPre = getPrefix(this.level, 'withArrow');
|
100
100
|
auxPre = getPrefix(this.level, 'returnVal');
|
101
101
|
if (this.lStack.length === 0) {
|
102
|
-
LOG(`returnFrom('${
|
102
|
+
LOG(`returnFrom('${funcName}') but stack is empty`);
|
103
103
|
return [mainPre, auxPre, undef];
|
104
104
|
}
|
105
105
|
hInfo = this.removeCall(funcName);
|
106
106
|
if (doDebugStack) {
|
107
107
|
prefix = ' '.repeat(this.lStack.length);
|
108
|
-
LOG(`${prefix}[<-- BACK ${
|
108
|
+
LOG(`${prefix}[<-- BACK ${funcName}]`);
|
109
109
|
}
|
110
110
|
return [mainPre, auxPre, hInfo];
|
111
111
|
}
|