Closed iecker closed 5 months ago
When the configuration file has a blank package (configuration error), the code crashes without further information.
# IDE - cmder - vscode - intellij - - oracle
20231016-102523 DEBUG removeExtension <- levain,cmder,vscode,,intellij,oracle-sqldeveloper 20231016-102523 ERROR 20231016-102523 ERROR ******************************************************************************** 20231016-102523 ERROR 20231016-102523 ERROR TypeError: Cannot read properties of null (reading 'replace') at Function.removeExtension (file:///(...)/levain/src/lib/package/package_manager.ts:69:18) at PackageManager.resolvePackages (file:///(...)/levain/src/lib/package/package_manager.ts:23:24) at new OsShell (file:///(...)/levain/src/lib/os/os_shell.ts:27:67) at Shell.execute (file:///(...)/levain/src/cmd/shell.ts:62:34) at eventLoopTick (ext:core/01_core.js:181:11) at async Loader.command (file:///(...)/levain/src/lib/loader.ts:28:9) at async LevainCli.execute (file:///(...)/levain/src/levain_cli.ts:98:17) at async Levain.runLevinWithLog (file:///(...)/levain/levain.ts:63:13) at async file:///(...)/levain/levain.ts:128:5 20231016-102523 ERROR 20231016-102523 ERROR ******************************************************************************** 20231016-102523 ERROR 20231016-102523 DEBUG
Release 0.90+
When the configuration file has a blank package (configuration error), the code crashes without further information.