no-stack-dub-sack / apexdox-vs-code

A lightweight VS Code extension that makes documenting your Salesforce Apex files an easy, integrated experience.
Other
49 stars 7 forks source link

Open Docs exception in latest release #76

Closed rcmarti1 closed 1 year ago

rcmarti1 commented 1 year ago

Open Docs is no longer working. Extension Host logs the following TypeError:

TypeError: The "path" argument must be of type string. Received undefined

Looks like it may be in createDocServer where resolvedPath is coming back undefined.

Using default settings for the extension (also tried yaml and json).

Version: 1.77.3 (user setup) Commit: 704ed70d4fd1c6bd6342c436f1ede30d1cff4710 Date: 2023-04-12T09:16:02.548Z Electron: 19.1.11 Chromium: 102.0.5005.196 Node.js: 16.14.2 V8: 10.2.154.26-electron.0 OS: Windows_NT x64 10.0.22621 Sandboxed: No

no-stack-dub-sack commented 1 year ago

Thanks @rcmarti1, will take a look. Can you please share your config and example folder structure? i.e. does your project have a DX or legacy folder structure?

no-stack-dub-sack commented 1 year ago

Actually @rcmarti1, no worries. I found the source of the issue and will publish a release to fix shortly. Thanks for catching this!

no-stack-dub-sack commented 1 year ago

@rcmarti1 @dschach 2.0.1 has been published fixing this bug. Thanks!

rcmarti1 commented 1 year ago

@no-stack-dub-sack Just validated that it is working again. Thanks for the quick turnaround!