asyncapi / optimizer

AsyncAPI offers many different ways to reuse certain parts of the document like messages or schemas definitions or references to external files, not to even mention the traits. There is a need for a tool that can be plugged into any workflows and optimize documents that are generated from code, but not only.
Apache License 2.0
14 stars 9 forks source link

fix: added __dirname instead of absolute path #255

Closed omidNM24 closed 3 months ago

omidNM24 commented 3 months ago

Description

This PR ensures that the script manages file paths using the _dirname variable. By utilizing dirname_, the script can construct absolute paths, ensuring consistent behavior regardless of the current execution directory.

Related issue(s) Fixes: #251

sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

KhudaDad414 commented 3 months ago

Thanks for the contribution @omidNM24!

KhudaDad414 commented 3 months ago

/rtm

asyncapi-bot commented 3 months ago

:tada: This PR is included in version 1.0.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: