Skip to content

Commit f5fb88b

Browse files
make isConfigured sync
1 parent fe001bc commit f5fb88b

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
@@ -162,7 +162,7 @@ export async function getDetailsForAutoConfig({
162162

163163
return {
164164
projectPath: projectPath,
165-
configured: (await framework?.isConfigured(projectPath)) ?? false,
165+
configured: framework?.isConfigured(projectPath) ?? false,
166166
framework,
167167
packageJson,
168168
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
@@ -24,7 +24,7 @@ export type ConfigurationResults = {
2424
export abstract class Framework {
2525
constructor(public name: string = "Static") {}
2626

27-
isConfigured(_projectPath: string): boolean | Promise<boolean> {
27+
isConfigured(_projectPath: string): boolean {
2828
return false;
2929
}
3030

0 commit comments

Comments
 (0)