Skip to content

Commit

Permalink
cleaning up code for lintter to pass
Browse files Browse the repository at this point in the history
  • Loading branch information
bryan-e-lopez committed Mar 13, 2024
1 parent 7a87a49 commit d39d770
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions controller/components/PewPewVersions/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Danger } from "../Alert";
import Div from "../Div";
import React from "react";
import Toaster from "../Toaster"
import Toaster from "../Toaster";
import styled from "styled-components";

const VersionDiv = styled(Div)`
Expand All @@ -25,7 +25,7 @@ const VersionDivSelect = styled(Div)`
export interface VersionInitalProps {
pewpewVersion: string;
pewpewVersions: string[];
latestInFile: string;
latestInFile: string;
loading: boolean;
error: boolean;
}
Expand Down
2 changes: 1 addition & 1 deletion controller/components/PewPewVersions/initialProps.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { LogLevel, log } from "@fs/ppaas-common";
import { getPewPewVersionInFile, getPewPewVersionsInS3 } from "../../pages/api/util/pewpew";
import { API_PEWPEW } from "../../types";
import { VersionInitalProps } from ".";
import { getPewPewVersionInFile, getPewPewVersionsInS3 } from "../../pages/api/util/pewpew";
import { latestPewPewVersion } from "../../pages/api/util/clientutil";

export const getServerSideProps = async (): Promise<VersionInitalProps> => {
Expand Down
4 changes: 2 additions & 2 deletions controller/pages/api/util/pewpew.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ import { latestPewPewVersion, versionSort } from "./clientutil";
import { TestScheduler } from "./testscheduler";
import { execFile as _execFile } from "child_process";
import { chmod } from "fs/promises";
import fs from "fs"
import { latestPewPewInFile } from "../../../.latestpewpewversionfile"
import fs from "fs";
import { latestPewPewInFile } from "../../../.latestpewpewversionfile";
import os from "os";
import { promisify } from "util";
import semver from "semver";
Expand Down

0 comments on commit d39d770

Please sign in to comment.