Skip to content

Commit

Permalink
move printBindings out of /config/index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
emily-shen committed Dec 11, 2024
1 parent cd48407 commit 6e46d5a
Show file tree
Hide file tree
Showing 6 changed files with 482 additions and 479 deletions.
1 change: 0 additions & 1 deletion packages/wrangler/src/__tests__/configuration.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { normalizeAndValidateConfig } from "../config/validation";
import { run } from "../experimental-flags";
import { normalizeString } from "./helpers/normalize";
import { runInTempDir } from "./helpers/run-in-tmp";
import { writeWorkerSource } from "./helpers/write-worker-source";
import { writeWranglerConfig } from "./helpers/write-wrangler-config";
import type {
ConfigFields,
Expand Down
3 changes: 2 additions & 1 deletion packages/wrangler/src/api/startDevWorker/ConfigController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
isLegacyEnv,
} from "../..";
import { getAssetsOptions, validateAssetsArgsAndConfig } from "../../assets";
import { printBindings, readConfig } from "../../config";
import { readConfig } from "../../config";
import { getEntry } from "../../deployment-bundle/entry";
import {
getBindings,
Expand All @@ -24,6 +24,7 @@ import { UserError } from "../../errors";
import { logger } from "../../logger";
import { requireApiToken, requireAuth } from "../../user";
import { memoizeGetPort } from "../../utils/memoizeGetPort";
import { printBindings } from "../../utils/print-bindings";
import { getZoneIdForPreview } from "../../zones";
import { Controller } from "./BaseController";
import { castErrorCause } from "./events";
Expand Down
Loading

0 comments on commit 6e46d5a

Please sign in to comment.