-
Notifications
You must be signed in to change notification settings - Fork 31
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
Force true #849
base: master
Are you sure you want to change the base?
Force true #849
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #849 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 58 58
Lines 3351 3351
Branches 648 648
=========================================
Hits 3351 3351 ☔ View full report in Codecov by Sentry. |
@@ -343,7 +343,7 @@ describe('run', () => { | |||
expect(command.buildOneExt).toHaveBeenCalledTimes(1) | |||
expect(command.buildOneExt).toHaveBeenCalledWith('application', | |||
appConfig.application, | |||
expect.objectContaining({ 'force-build': false, 'web-assets': false }), | |||
expect.objectContaining({ 'web-assets': false }), |
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.
shouldn't force-build: true
be in the object here?
@@ -327,7 +327,7 @@ describe('run', () => { | |||
expect(command.buildOneExt).toHaveBeenCalledTimes(1) | |||
expect(command.buildOneExt).toHaveBeenCalledWith('application', | |||
appConfig.application, | |||
expect.objectContaining({ 'force-build': false, verbose: true }), | |||
expect.objectContaining({ verbose: true }), |
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.
shouldn't force-build: true
be in the object here?
@@ -413,7 +413,7 @@ describe('run', () => { | |||
|
|||
expect(command.buildOneExt).toHaveBeenCalledWith('application', | |||
appConfig.application, | |||
expect.objectContaining({ 'force-build': false, 'web-assets': false, action: ['a', 'b', 'c'] }), | |||
expect.objectContaining({ 'web-assets': false, action: ['a', 'b', 'c'] }), |
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.
shouldn't force-build: true
be in the object here?
@@ -435,7 +435,7 @@ describe('run', () => { | |||
|
|||
expect(command.buildOneExt).toHaveBeenCalledWith('application', | |||
appConfig.application, | |||
expect.objectContaining({ 'force-build': false, 'web-assets': false, action: ['c'] }), | |||
expect.objectContaining({ 'web-assets': false, action: ['c'] }), |
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.
shouldn't force-build: true
be in the object here?
@@ -458,7 +458,7 @@ describe('run', () => { | |||
expect(command.buildOneExt).toHaveBeenCalledTimes(1) | |||
expect(command.buildOneExt).toHaveBeenCalledWith('application', | |||
appConfig.application, | |||
expect.objectContaining({ 'force-build': false, 'web-assets': false }), | |||
expect.objectContaining({ 'web-assets': false }), |
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.
shouldn't force-build: true
be in the object here?
@@ -485,7 +485,7 @@ describe('run', () => { | |||
expect(command.buildOneExt).toHaveBeenCalledTimes(1) | |||
expect(command.buildOneExt).toHaveBeenCalledWith('application', | |||
appConfig.application, | |||
expect.objectContaining({ 'force-build': false, actions: false }), | |||
expect.objectContaining({ actions: false }), |
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.
shouldn't force-build: true
be in the object here?
@@ -503,7 +503,7 @@ describe('run', () => { | |||
expect(command.buildOneExt).toHaveBeenCalledTimes(1) | |||
expect(command.buildOneExt).toHaveBeenCalledWith('application', | |||
appConfig.application, | |||
expect.objectContaining({ 'force-build': false, actions: false }), | |||
expect.objectContaining({ actions: false }), |
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.
shouldn't force-build: true
be in the object here?
Description
This changes the default flags, but no implementation.
Effectively the default behavior will be:
aio app build --force-build
aio app deploy --force-build
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: