vjekob / al-objid

Manage object IDs in multi-user environments with mind-boggling simplicity.
MIT License
29 stars 18 forks source link

License Check cannot deal with relative path one level up #52

Closed pri-kise closed 1 year ago

pri-kise commented 1 year ago

At first I have placed the license file in the Project Folder instead of the MainApp Folder. Therefore I specified a path like the following:

{
  "bcLicense": "../CustomerLicence.bclicense",
  "idRanges": [],
  "objectRanges": {

    ]
  }
}

I received no warning or error, but when I checked the developer tools, there was the following error:

TypeError: Cannot read properties of undefined (reading 'uri') at new BCLicense (c:\Users\kise.vscode\extensions\vjeko.vjeko-al-objid-2.9.1\out\lib\BCLicense.js:36:83) at ObjIdConfigLinter. (c:\Users\kise.vscode\extensions\vjeko.vjeko-al-objid-2.9.1\out\features\linters\ObjIdConfigLinter.js:211:29) at Generator.next () at fulfilled (c:\Users\kise.vscode\extensions\vjeko.vjeko-al-objid-2.9.1\out\features\linters\ObjIdConfigLinter.js:5:58) at process.processTicksAndRejections (node:internal/process/task_queues:96:5) $onExtensionRuntimeError @ mainThreadExtensionService.ts:80

vjekob commented 1 year ago

This will be included in 2.10.0