Skip to content

Commit cfbe28c

Browse files
make isConfigured sync
1 parent 8dbde1c commit cfbe28c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/wrangler/src/autoconfig/details.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export async function getDetailsForAutoConfig({
153153

154154
return {
155155
projectPath: projectPath,
156-
configured: (await framework?.isConfigured(projectPath)) ?? false,
156+
configured: framework?.isConfigured(projectPath) ?? false,
157157
framework,
158158
packageJson,
159159
buildCommand: detectedFramework?.buildCommand ?? packageJsonBuild,

packages/wrangler/src/autoconfig/frameworks/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export type ConfigurationResults = {
2222
export abstract class Framework {
2323
constructor(public name: string = "Static") {}
2424

25-
isConfigured(_projectPath: string): boolean | Promise<boolean> {
25+
isConfigured(_projectPath: string): boolean {
2626
return false;
2727
}
2828

0 commit comments

Comments
 (0)