ibm-functions / shell

An Electron-based development tool for IBM Cloud Functions and Composer.
Apache License 2.0
60 stars 16 forks source link

fsh plugin list crashes in headless mode #512

Closed lionelvillard closed 6 years ago

lionelvillard commented 6 years ago
$  fsh version
1.3.396
$ fsh plugin list
TypeError: Cannot read property 'dim' of undefined
    at app (/Users/villardl/Projects/whisk/wskp/shell/app/headless.js:255:94)
    at Array.map (native)
    at print (/Users/villardl/Projects/whisk/wskp/shell/app/headless.js:308:61)
    at out (/Users/villardl/Projects/whisk/wskp/shell/app/headless.js:368:5)
lionelvillard commented 6 years ago

same problem with the latest fsh:

fsh version
1.3.419
$ fsh plugin list
TypeError: Cannot read property 'dim' of undefined
 at app (/usr/local/lib/node_modules/@ibm-functions/shell/dist/IBM Cloud Functions Shell-darwin-x64/IBMCloud Functions Shell.app/Contents/Resources/app.asar/headless.js:255:94)
    at Array.map (native)
    at print (/usr/local/lib/node_modules/@ibm-functions/shell/dist/IBM Cloud Functions Shell-darwin-x64/IBM Cloud Functions Shell.app/Contents/Resources/app.asar/headless.js:308:61)
    at out (/usr/local/lib/node_modules/@ibm-functions/shell/dist/IBM Cloud Functions Shell-darwin-x64/IBMCloud Functions Shell.app/Contents/Resources/app.asar/headless.js:368:5)