Skip to content
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

feat: support split custom labels #62

Merged
merged 2 commits into from
Apr 13, 2021
Merged

Conversation

mdonnalley
Copy link
Contributor

What does this PR do?

Supports CustomLabels split across multiple package directories

What issues does this PR fix or reference?

@W-9016030@

@mdonnalley mdonnalley self-assigned this Apr 6, 2021
'<fullName>force_app_Label_2</fullName>'
);
// Skipping if using sfdx executable because it does not support multiple CustomLabels files on retrieve
(EXECUTABLE.includes('plugin-source') ? describe : describe.skip)('CustomLabels', () => {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice.

@mdonnalley mdonnalley force-pushed the mdonnalley/custom-labels branch from 091c1f9 to 090f510 Compare April 6, 2021 16:42
@@ -265,18 +265,16 @@ describe('SourceCommand', () => {
const compSet = await command.callCreateComponentSet(options);
expect(fromManifestStub.calledOnce).to.equal(true);
expect(fromManifestStub.firstCall.args[0]).to.equal(options.manifest);
expect(fromManifestStub.firstCall.args[1]).to.deep.equal({ resolve: packageDir1 });
expect(fromManifestStub.firstCall.args[1]).to.deep.equal({ resolve: [packageDir1] });
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mdonnalley the SDRL had some breaking changes, so I updated the createComponentSet to use the new methods, which resulted in changes here and retrieve.test.ts could you verify this still is correct

@mdonnalley mdonnalley force-pushed the mdonnalley/custom-labels branch from 5ba0caa to 4269f61 Compare April 13, 2021 16:27
@WillieRuemmele WillieRuemmele merged commit ab290a7 into main Apr 13, 2021
@WillieRuemmele WillieRuemmele deleted the mdonnalley/custom-labels branch April 13, 2021 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants