Skip to content

Commit

Permalink
fix import error
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiaaming committed May 20, 2024
1 parent 2337a96 commit 4fcf41f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extension/src/views/gradleDaemons/services/GradleWrapper.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import fsExtra from "fs-extra";
import * as fse from 'fs-extra'
import { execAsync } from "../../../util/execAsync";
import { GradleExecution } from "./GradleExecution";
import * as path from "path";
Expand Down Expand Up @@ -30,7 +30,7 @@ export class GradleWrapper implements GradleExecution {
static async hasValidWrapper(projectRoot: string): Promise<boolean> {
const propertiesPath = path.join(projectRoot, "gradle", "wrapper", "gradle-wrapper.properties");

const hasProperties = await fsExtra.pathExists(propertiesPath);
const hasProperties = await fse.pathExists(propertiesPath);
return hasProperties;
}
}

0 comments on commit 4fcf41f

Please sign in to comment.