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

fix: use domino by default for app create W-10809399 #90

Merged
merged 2 commits into from
Mar 23, 2022

Conversation

reidaelliott
Copy link
Collaborator

@reidaelliott reidaelliott commented Mar 23, 2022

@W-10809399@

What does this PR do?

@W-10809399@
Adds domino dynamic options by default, or when not specified in the json

What issues does this PR fix or reference?

(https://gus.lightning.force.com/lightning/r/ADM_Work__c/a07EE00000sI498YAC/view)

@reidaelliott reidaelliott requested a review from a team as a code owner March 23, 2022 20:13
@reidaelliott reidaelliott requested a review from smithgp March 23, 2022 20:18
@reidaelliott reidaelliott changed the title fix: use domino by default for app create W-10809399 fix: use domino by default for app create W-10809399 Mar 23, 2022
@reidaelliott
Copy link
Collaborator Author

need to rerun ci

Comment on lines +75 to +79
if (!body.templateOptions) {
body.templateOptions = { dynamicOptions: { productionType: 'ATF_3_0', runtimeLogEntryLevel: 'Warning' } };
} else if (!body.templateOptions.dynamicOptions) {
body.templateOptions.dynamicOptions = { productionType: 'ATF_3_0', runtimeLogEntryLevel: 'Warning' };
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Minor -- you should be able to make this one statement, like:

Suggested change
if (!body.templateOptions) {
body.templateOptions = { dynamicOptions: { productionType: 'ATF_3_0', runtimeLogEntryLevel: 'Warning' } };
} else if (!body.templateOptions.dynamicOptions) {
body.templateOptions.dynamicOptions = { productionType: 'ATF_3_0', runtimeLogEntryLevel: 'Warning' };
}
body.templateOptions = {
...body.templateOptions,
dynamicOptions: { productionType: 'ATF_3_0', runtimeLogEntryLevel: 'Warning' }
};

@reidaelliott reidaelliott merged commit 0300f5c into main Mar 23, 2022
@reidaelliott reidaelliott deleted the dominoAppCreate branch March 23, 2022 21:01
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