chore: run prettier to prevent build from failing

Signed-off-by: djamaile <rdjamaile@gmail.com>
This commit is contained in:
djamaile
2022-03-11 20:22:00 +01:00
committed by Fredrik Adelöw
parent 08d0a6abf1
commit d3af30b47d
8 changed files with 14 additions and 16 deletions
@@ -14,4 +14,4 @@
* limitations under the License.
*/
export * from "./gitlab";
export * from './gitlab';
+1 -1
View File
@@ -117,7 +117,7 @@ export interface Build {
duration: number;
/** Top-level build stages */
stages?: Array<Stage>;
stages: Array<Stage>;
}
/**
@@ -78,9 +78,6 @@ export function ButtonSwitch<T extends string>(props: ButtonSwitchProps<T>) {
);
const value = switchValue(values[index]);
if(!value){
console.log(values[index]);
}
if (props.multi) {
props.onChange(
props.selection.includes(value as T)
@@ -166,8 +166,6 @@ function CicdCharts(props: CicdChartsProps) {
errorApi.post(chartableStagesState.error);
}, [errorApi, chartableStagesState.error]);
console.log(chartableStagesState);
return (
<Grid container>
<Grid item lg={2} className={classes.pane}>
@@ -68,8 +68,6 @@ export async function cleanupBuildTree(
return map(builds, { chunk: 'idle' }, build => ({
...build,
stages: build.stages
? build.stages.map(stage => recurseStage(stage, []))
: [],
stages: build.stages.map(stage => recurseStage(stage, [])),
}));
}