@sc-voice/tools 3.31.0 → 3.32.0

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sc-voice/tools",
3
- "version": "3.31.0",
3
+ "version": "3.32.0",
4
4
  "description": "Utilities for SC-Voice",
5
5
  "main": "index.mjs",
6
6
  "files": [
@@ -131,7 +131,11 @@ export class ColorConsole {
131
131
  }
132
132
  }
133
133
 
134
- isOk(thing, tf = thing) {
134
+ isOk(thing, tf) {
135
+ if (tf === undefined) {
136
+ tf = thing;
137
+ }
138
+
135
139
  let v = this.valueOf(thing);
136
140
  let color = tf ? this.okColor2 : this.badColor2;
137
141
  return color + v;