File tree 2 files changed +7
-6
lines changed 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -1255,14 +1255,18 @@ const getMissingParameters = (
1255
1255
1256
1256
// If not, get the old one
1257
1257
if ( ! buildParameter ) {
1258
- buildParameter = oldBuildParameters . find ( ( p ) => p . name === templateParameter . name )
1258
+ buildParameter = oldBuildParameters . find (
1259
+ ( p ) => p . name === templateParameter . name ,
1260
+ )
1259
1261
}
1260
1262
1261
1263
if ( ! buildParameter ) {
1262
1264
return
1263
1265
}
1264
1266
1265
- const matchingOption = templateParameter . options . find ( option => option . value === buildParameter ?. value ) ;
1267
+ const matchingOption = templateParameter . options . find (
1268
+ ( option ) => option . value === buildParameter ?. value ,
1269
+ )
1266
1270
if ( ! matchingOption ) {
1267
1271
missingParameters . push ( templateParameter )
1268
1272
}
Original file line number Diff line number Diff line change @@ -517,10 +517,7 @@ export const createTemplateMachine =
517
517
isNotUsingExample : ( { exampleId } ) => ! exampleId ,
518
518
hasFile : ( { file } ) => Boolean ( file ) ,
519
519
hasFailed : ( _ , { data } ) =>
520
- Boolean (
521
- data . job . status === "failed" &&
522
- ! isMissingVariables ( data ) ,
523
- ) ,
520
+ Boolean ( data . job . status === "failed" && ! isMissingVariables ( data ) ) ,
524
521
hasNoParametersOrVariables : ( _ , { data } ) =>
525
522
data . variables === undefined ,
526
523
hasParametersOrVariables : ( _ , { data } ) => {
You can’t perform that action at this time.
0 commit comments