Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GH] Use relative paths for ktlint arguments
The latest ktlint update removed the support for absolute paths as arguments. pinterest/ktlint#1131 Github workflow used to prepend the checkout source to make paths absolute and now it does not work anymore. This PR replaces it with `..` since we run ktlint inside `activity` project. There is probably a better shell magic to get this but I think .. is good enough for now. (there does not seem to be a consistent solution between mac and linux for relative paths). Bug: n/a Test: locally verified that relative paths with .. works by manually breaking a file's style in room and invoked ktlint in activity as the workflow does. This is an imported pull request from #247. Resolves #247 Github-Pr-Head-Sha: da89915 GitOrigin-RevId: 80adfcd Change-Id: Ie6ec09c66a57f89970aff9da581135769b43ca9f
- Loading branch information