@jdeighan/coffee-utils 7.0.35 → 7.0.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/debug_utils.coffee +2 -2
- package/src/debug_utils.js +2 -2
package/package.json
CHANGED
package/src/debug_utils.coffee
CHANGED
|
@@ -176,12 +176,12 @@ export debug = (lArgs...) ->
|
|
|
176
176
|
switch type
|
|
177
177
|
when 'enter'
|
|
178
178
|
log label, hOptions
|
|
179
|
-
if
|
|
179
|
+
if (nArgs==2)
|
|
180
180
|
# --- don't repeat the label
|
|
181
181
|
logItem undef, item, hOptions
|
|
182
182
|
when 'return'
|
|
183
183
|
log label, hOptions
|
|
184
|
-
if
|
|
184
|
+
if (nArgs==2)
|
|
185
185
|
# --- don't repeat the label
|
|
186
186
|
logItem undef, item, hOptions
|
|
187
187
|
when 'string'
|
package/src/debug_utils.js
CHANGED
|
@@ -186,14 +186,14 @@ export var debug = function(...lArgs) {
|
|
|
186
186
|
switch (type) {
|
|
187
187
|
case 'enter':
|
|
188
188
|
log(label, hOptions);
|
|
189
|
-
if (
|
|
189
|
+
if (nArgs === 2) {
|
|
190
190
|
// --- don't repeat the label
|
|
191
191
|
logItem(undef, item, hOptions);
|
|
192
192
|
}
|
|
193
193
|
break;
|
|
194
194
|
case 'return':
|
|
195
195
|
log(label, hOptions);
|
|
196
|
-
if (
|
|
196
|
+
if (nArgs === 2) {
|
|
197
197
|
// --- don't repeat the label
|
|
198
198
|
logItem(undef, item, hOptions);
|
|
199
199
|
}
|