eclipse-che4z / che-che4z-lsp-for-cobol

COBOL Language Support provides autocomplete, highlighting and diagnostics for COBOL code and copybooks
Other
83 stars 58 forks source link

fix: Use real copybook location from configuration to check credentials #2593

Open hohy opened 5 days ago

hohy commented 5 days ago

Before copybooks are fetched from mainframe, credentials in the Zowe profile are checked. It used to be done by listing / USS path. As user might not have permission to list /, it's not working for everybody. This PR changes the test location to be the first dataset or USS path specified in the extension configuration.

I'm still waiting to get access to the telemetry data to see if the problem was really in the listing of the / directory

How Has This Been Tested?

Updated CopybookDownloadServiceTest.spec.ts unit test.

Checklist: