mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-11 04:22:13 +00:00
[tests] Add prettier check (#9664)
This PR fixes the formatting on several files that were never run through `prettier`. It also makes sure to run `prettier` in CI to to [fail fast](https://github.com/vercel/vercel/actions/runs/4408442998/jobs/7723453978) when the incorrect formatting is attempted.
This commit is contained in:
@@ -22,9 +22,11 @@ function getBuilderRoutesMapping(builds: Build[]) {
|
||||
return builderRoutes;
|
||||
}
|
||||
|
||||
function getCheckAndContinue(
|
||||
routes: Route[]
|
||||
): { checks: Route[]; continues: Route[]; others: Route[] } {
|
||||
function getCheckAndContinue(routes: Route[]): {
|
||||
checks: Route[];
|
||||
continues: Route[];
|
||||
others: Route[];
|
||||
} {
|
||||
const checks: Route[] = [];
|
||||
const continues: Route[] = [];
|
||||
const others: Route[] = [];
|
||||
|
||||
Reference in New Issue
Block a user