-
Notifications
You must be signed in to change notification settings - Fork 98
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
Wr/add missing local components #1273
Conversation
src/client/metadataApiDeploy.ts
Outdated
const serverResponseNotFoundLocally = | ||
(cs: ComponentSet) => | ||
(messageMap: Map<string, DeployMessage[]>): FileResponse[] => { | ||
const sourceKeys = cs.getSourceComponents().toArray().map(toKey); |
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.
for a large deploy, this'll be a bit more performant if you make sourceKeys a set
and use .has(k)
QA: |
What does this PR do?
What issues does this PR fix or reference?
#forcedotcom/cli#2603, @W-14675377@
Functionality Before
getFileResponses
would only return files that existed locallyFunctionality After
getFileResponses
now returns all results from the server, with a special note for ones not found locally