IntersectMBO / cardano-api

Cardano API
Apache License 2.0
22 stars 20 forks source link

Fix using of absolute paths in prettify script #621

Closed carbolymer closed 2 weeks ago

carbolymer commented 2 weeks ago

Changelog

- description: |
    Fix using of absolute paths in prettify script
# uncomment types applicable to the change:
  type:
  # - feature        # introduces a new feature
  # - breaking       # the API has changed in a breaking way
  # - compatible     # the API has changed but is non-breaking
  # - optimisation   # measurable performance improvements
  # - refactoring    # QoL changes
  # - bugfix         # fixes a defect
  # - test           # fixes/modifies tests
   - maintenance    # not directly related to the code
  # - release        # related to a new release preparation
  # - documentation  # change in code docs, haddocks...

Context

Additional context for the PR goes here. If the PR fixes a particular issue please provide a link to the issue.

How to trust this PR

Highlight important bits of the PR that will make the review faster. If there are commands the reviewer can run to observe the new behavior, describe them.

Checklist

carbolymer commented 2 weeks ago

@Jimbo4350 it's done in prettify itself already, so there was no point in duplicating the logic. You can see it in the CI output: https://github.com/IntersectMBO/cardano-api/actions/runs/10528514101/job/29174180469?pr=621#step:5:23