Skip to content

Commit

Permalink
fix linting in c3
Browse files Browse the repository at this point in the history
  • Loading branch information
RamIdeas committed Oct 2, 2023
1 parent 4bafbac commit ea0e5e7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/create-cloudflare/e2e-tests/cli.test.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { existsSync, rmSync, mkdtempSync, realpathSync } from "fs";
import { tmpdir } from "os";
import { join } from "path";
import * as shellquote from "../src/helpers/shell-quote";
import { beforeEach, afterEach, describe, test, expect } from "vitest";
import { version } from "../package.json";
import * as shellquote from "../src/helpers/shell-quote";
import { frameworkToTest } from "./frameworkToTest";
import { isQuarantineMode, keys, runC3 } from "./helpers";

Expand Down
2 changes: 1 addition & 1 deletion packages/create-cloudflare/src/common.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { existsSync, mkdirSync, readdirSync } from "fs";
import { basename, dirname, resolve } from "path";
import { chdir } from "process";
import * as shellquote from "./helpers/shell-quote";
import { getFrameworkCli } from "frameworks/index";
import { processArgument } from "helpers/args";
import {
Expand Down Expand Up @@ -29,6 +28,7 @@ import { detectPackageManager } from "helpers/packages";
import { poll } from "helpers/poll";
import { version as wranglerVersion } from "wrangler/package.json";
import { version } from "../package.json";
import * as shellquote from "./helpers/shell-quote";
import type { C3Args, PagesGeneratorContext } from "types";

const { name, npm } = detectPackageManager();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { spawn } from "cross-spawn";
import { detectPackageManager } from "helpers/packages";
import * as shellquote from "../shell-quote";
import { beforeEach, afterEach, describe, expect, test, vi } from "vitest";
import whichPMRuns from "which-pm-runs";
import {
Expand All @@ -10,6 +9,7 @@ import {
npmInstall,
runCommand,
} from "../command";
import * as shellquote from "../shell-quote";

// We can change how the mock spawn works by setting these variables
let spawnResultCode = 0;
Expand Down
2 changes: 1 addition & 1 deletion packages/create-cloudflare/src/helpers/command.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { existsSync, rmSync } from "fs";
import path from "path";
import { spawn } from "cross-spawn";
import * as shellquote from "./shell-quote";
import { endSection, stripAnsi } from "./cli";
import { brandColor, dim } from "./colors";
import { spinner } from "./interactive";
import { detectPackageManager } from "./packages";
import * as shellquote from "./shell-quote";
import type { PagesGeneratorContext } from "types";

/**
Expand Down

0 comments on commit ea0e5e7

Please sign in to comment.