Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
benyap committed Dec 26, 2021
1 parent 2caf7c6 commit 5761364
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/steps/applyChanges.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { writeFileSync } from "fs";

import type { Change } from "~/types";

/**
Expand Down
1 change: 1 addition & 0 deletions src/steps/computeAliases.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { resolve } from "path";

import type { Alias, TSConfig } from "~/types";

/**
Expand Down
2 changes: 1 addition & 1 deletion src/steps/createProgram.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Command } from "commander";

import { version } from "../version.json";
import { version } from "~/version.json";

const example = `
Example:
Expand Down
2 changes: 2 additions & 0 deletions src/steps/generateChanges.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { existsSync, readFileSync } from "fs";
import { dirname, relative, resolve } from "path";

import { FileNotFoundError } from "~/utils/errors";

import type { Alias, Change, ProgramPaths, TextChange } from "~/types";

export const IMPORT_EXPORT_REGEX =
Expand Down
4 changes: 2 additions & 2 deletions src/steps/resolvePaths.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { resolve, dirname } from "path";

import type { ProgramOptions, ProgramPaths, TSConfig } from "~/types";

import { StepError, TSConfigPropertyError } from "~/utils/errors";

import type { ProgramOptions, ProgramPaths, TSConfig } from "~/types";

/**
* Resolve paths provided to the program to absolute paths.
*/
Expand Down

0 comments on commit 5761364

Please sign in to comment.