Skip to content

Commit

Permalink
chore: remove unused import
Browse files Browse the repository at this point in the history
  • Loading branch information
d4rkr00t committed Apr 6, 2021
1 parent eca3911 commit a4cf893
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions commands/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { log, invalidStatsJson } from "../lib/console/messages";
import { normalizeStats } from "../lib/normalize-stats";
import { reporter as defaultReporter } from "../lib/reporter";
import { createProgressBar } from "../lib/console/progress-bar";
import type { Module } from "../lib/analyze";
import { sortModules } from "./common/sort-modules";

/**
Expand Down Expand Up @@ -50,7 +49,6 @@ export default async function defaultCommand(

const ignorePatterns = ignore ? ignore.split(",") : [];
const report = analyze(stats, ignorePatterns, updateProgressBar);

const format = (str: string) =>
str.replace(/^\.\//, "").replace(/ \+ \d+ modules$/, "");

Expand Down

0 comments on commit a4cf893

Please sign in to comment.