theprogrammablemind_4wp 8.1.0-beta.2 → 8.1.0-beta.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/client.js +2 -1
  2. package/package.json +1 -1
package/client.js CHANGED
@@ -872,7 +872,8 @@ const defaultInnerProcess = (config, errorHandler, responses) => {
872
872
  */
873
873
  console.log('')
874
874
  const screen_width = process.stdout.columns
875
- const widths = [60, 10, Math.max(80, screen_width-71)]
875
+ // || 0 for when running without a console
876
+ const widths = [60, 10, Math.max(80, screen_width-71 || 0)]
876
877
  const lines = new Lines(widths)
877
878
  lines.setElement(0, 0, '--- The paraphrases are ----------')
878
879
  lines.setElement(0, 2, '--- The response strings are ----------')
package/package.json CHANGED
@@ -65,6 +65,6 @@
65
65
  "sort-json": "^2.0.0",
66
66
  "uuid": "^8.3.2"
67
67
  },
68
- "version": "8.1.0-beta.2",
68
+ "version": "8.1.0-beta.4",
69
69
  "license": "UNLICENSED"
70
70
  }