dxatscale / sfpowerscripts

A build system for modular development in Salesforce
https://dxatscale.io
MIT License
213 stars 98 forks source link

fix(profile): add ability to reset cache when the command is executed against an org multiple times #1422

Open azlam-abdulsalam opened 1 year ago

azlam-abdulsalam commented 1 year ago

The PR adds an additional flag --resetcache to merge/reconcile which provides ability to reset cache as required among subsequent runs

fixes #1413

Summary generated by Reviewpad on 17 Oct 23 01:45 UTC

This pull request includes two patches.

The first patch fixes an issue in the profile merge and reconcile commands. It adds a new flag '--resetcache' which allows users to reset the cache and retrieve the latest profile permissions from the org. This fix addresses issue #1413.

The second patch fixes a formatting issue with the prettier in the sfpowerkit utility file.

Overall, these patches enhance the profile merge and reconcile commands and improve the formatting of the sfpowerkit utility.

Checklist

All items have to be completed before a PR is merged

codecov[bot] commented 1 year ago

Codecov Report

All modified lines are covered by tests :white_check_mark:

Comparison is base (7c5d9d4) 46.80% compared to head (6b32c0f) 46.80%. Report is 1 commits behind head on main.

:exclamation: Current head 6b32c0f differs from pull request most recent head b2ac562. Consider uploading reports for the commit b2ac562 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1422 +/- ## ======================================= Coverage 46.80% 46.80% ======================================= Files 70 70 Lines 2662 2662 Branches 302 302 ======================================= Hits 1246 1246 Misses 1414 1414 Partials 2 2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

reviewpad[bot] commented 1 year ago

Reviewpad Report

:bangbang: Errors

:warning: Warnings