-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: deletes singular CL when from CLs when specified #381
Merged
+215
−27
Merged
Changes from 1 commit
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
109adef
fix: deletes singular CL when from CLs when specified
WillieRuemmele e3bc831
chore: ensure array when deleting last CL in CLs
WillieRuemmele 95a7d77
chore: delete entire CL when last one deleted, return multiple FileRe…
WillieRuemmele 688d59c
chore: use promise array
WillieRuemmele eca3efc
chore: small tweak, get CI running
WillieRuemmele 86737d5
chore: bump sdr
WillieRuemmele 8a45e6f
chore: bump core
WillieRuemmele 99ef27b
chore: more bugs caught by extNuts fixed
WillieRuemmele 41d43f6
chore: move CL delete to static method
WillieRuemmele 866825a
test: add UT for static method
WillieRuemmele eb4148c
chore: top level function, other review improvements
WillieRuemmele d06ac3f
chore: bump testkit
mshanemc 2367fa3
Merge branch 'main' into wr/deleteCustomLabels
WillieRuemmele e9cd467
chore: remove deleting CLs from other methods
WillieRuemmele ff352ed
Merge branch 'wr/deleteCustomLabels' of github.com:forcedotcom/source…
WillieRuemmele 31691a6
refactor: return file as object for consumers and tests (#388)
mshanemc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can it return some sort of results structure?
Like maybe it returns a Promise of either the file contents as JSON or undefined (if it was deleted), inside an object for potential future expansion? like, {fileContents?: cls }
you'd still need the writeStub in your test, but you could assert from the function response?