Skip to content

Commit

Permalink
Fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
will-v-pi committed Aug 8, 2024
1 parent 7a8f9a2 commit 944fe51
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/utils/examplesUtil.mts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ import { join as joinPosix } from "path/posix";
import Logger from "../logger.mjs";
import { existsSync, readFileSync, rmSync } from "fs";
import { homedir } from "os";
import { getGit, sparseCheckout, sparseCloneRepository, execAsync } from "./gitUtil.mjs";
import {
getGit, sparseCheckout, sparseCloneRepository, execAsync
} from "./gitUtil.mjs";
import Settings from "../settings.mjs";
import { checkForInstallationRequirements } from "./requirementsUtil.mjs";
import { cp } from "fs/promises";
Expand Down Expand Up @@ -139,7 +141,7 @@ export async function setupExample(
const gitPath = await getGit(settings);

if (existsSync(examplesRepoPath)) {
let ref = await execAsync(
const ref = await execAsync(
`cd "${examplesRepoPath}" && ${
process.env.ComSpec === "powershell.exe" ? "&" : ""
}"${gitPath}" rev-parse HEAD`
Expand Down

0 comments on commit 944fe51

Please sign in to comment.