File tree Expand file tree Collapse file tree 9 files changed +17
-0
lines changed
packages/cli/src/constructs Expand file tree Collapse file tree 9 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -236,6 +236,8 @@ export class ApiCheck extends RuntimeCheck {
236236 }
237237
238238 async validate ( diagnostics : Diagnostics ) : Promise < void > {
239+ await super . validate ( diagnostics )
240+
239241 if ( this . setupScript ) {
240242 if ( ! isEntrypoint ( this . setupScript ) && ! isContent ( this . setupScript ) ) {
241243 diagnostics . add ( new InvalidPropertyValueDiagnostic (
Original file line number Diff line number Diff line change @@ -125,6 +125,8 @@ export class BrowserCheck extends RuntimeCheck {
125125 }
126126
127127 async validate ( diagnostics : Diagnostics ) : Promise < void > {
128+ await super . validate ( diagnostics )
129+
128130 if ( ! isEntrypoint ( this . code ) && ! isContent ( this . code ) ) {
129131 diagnostics . add ( new InvalidPropertyValueDiagnostic (
130132 'code' ,
Original file line number Diff line number Diff line change @@ -371,6 +371,8 @@ export class CheckGroupV1 extends Construct {
371371 }
372372
373373 async validate ( diagnostics : Diagnostics ) : Promise < void > {
374+ await super . validate ( diagnostics )
375+
374376 await this . onBeforeValidate ( diagnostics )
375377
376378 await this . validateDoubleCheck ( diagnostics )
Original file line number Diff line number Diff line change @@ -278,6 +278,8 @@ export class Dashboard extends Construct {
278278 }
279279
280280 async validate ( diagnostics : Diagnostics ) : Promise < void > {
281+ await super . validate ( diagnostics )
282+
281283 if ( ! this . customUrl && ! this . customDomain ) {
282284 diagnostics . add ( new InvalidPropertyValueDiagnostic (
283285 'customUrl' ,
Original file line number Diff line number Diff line change @@ -55,6 +55,8 @@ export class MultiStepCheck extends RuntimeCheck {
5555 }
5656
5757 async validate ( diagnostics : Diagnostics ) : Promise < void > {
58+ await super . validate ( diagnostics )
59+
5860 if ( ! isEntrypoint ( this . code ) && ! isContent ( this . code ) ) {
5961 diagnostics . add ( new InvalidPropertyValueDiagnostic (
6062 'code' ,
Original file line number Diff line number Diff line change @@ -57,6 +57,8 @@ export class PlaywrightCheck extends RuntimeCheck {
5757 }
5858
5959 async validate ( diagnostics : Diagnostics ) : Promise < void > {
60+ await super . validate ( diagnostics )
61+
6062 try {
6163 await fs . access ( this . playwrightConfigPath , fs . constants . R_OK )
6264 } catch ( err : any ) {
Original file line number Diff line number Diff line change @@ -108,6 +108,8 @@ export class PrivateLocation extends Construct {
108108 }
109109
110110 async validate ( diagnostics : Diagnostics ) : Promise < void > {
111+ await super . validate ( diagnostics )
112+
111113 if ( ! RE_SLUG . test ( this . slugName ) ) {
112114 diagnostics . add ( new InvalidPropertyValueDiagnostic (
113115 'slugName' ,
Original file line number Diff line number Diff line change @@ -93,6 +93,8 @@ export class Project extends Construct {
9393 }
9494
9595 async validate ( diagnostics : Diagnostics ) : Promise < void > {
96+ await super . validate ( diagnostics )
97+
9698 if ( ! this . name ) {
9799 diagnostics . add ( new InvalidPropertyValueDiagnostic (
98100 'name' ,
Original file line number Diff line number Diff line change @@ -162,6 +162,7 @@ export class RetryStrategyBuilder {
162162 maxRetries : options ?. maxRetries ?? RetryStrategyBuilder . DEFAULT_MAX_RETRIES ,
163163 maxDurationSeconds : options ?. maxDurationSeconds ?? RetryStrategyBuilder . DEFAULT_MAX_DURATION_SECONDS ,
164164 sameRegion : options ?. sameRegion ?? RetryStrategyBuilder . DEFAULT_SAME_REGION ,
165+ onlyOn : options ?. onlyOn ,
165166 }
166167 }
167168}
You can’t perform that action at this time.
0 commit comments