Skip to content

Commit

Permalink
update validator (#3565)
Browse files Browse the repository at this point in the history
  • Loading branch information
ianedwards authored Sep 13, 2023
1 parent 75185b5 commit f67f40c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions dashboard/src/main/home/app-dashboard/app-view/AppView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import Spacer from "components/porter/Spacer";

import AppDataContainer from "./AppDataContainer";

import web from "assets/web.png";
import AppHeader from "./AppHeader";
import { LatestRevisionProvider } from "./LatestRevisionContext";

Expand All @@ -19,7 +18,10 @@ export const porterAppValidator = z.object({
repo_name: z.string().optional(),
build_context: z.string().optional(),
builder: z.string().optional(),
buildpacks: z.array(z.string()).optional(),
buildpacks: z
.string()
.transform((s) => s.split(","))
.optional(),
dockerfile: z.string().optional(),
image_repo_uri: z.string().optional(),
porter_yaml_path: z.string().optional(),
Expand Down

0 comments on commit f67f40c

Please sign in to comment.