Skip to content

Commit

Permalink
[deno-gen-cache-entry] Simplify logging
Browse files Browse the repository at this point in the history
  • Loading branch information
nktpro committed Sep 3, 2024
1 parent a1e8193 commit 054edfb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/deno-gen-cache-entry/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { resolve } from "@std/path/resolve";
import { toFileUrl } from "@std/path/to-file-url";
import { parseFromJson } from "../_deno-shared/import_map.ts";
import { join } from "@std/path/join";
import { relative } from "@std/path/relative";
import { extractImportExportSpecifiers } from "./shared.ts";
import { format as formatDuration } from "@std/fmt/duration";

Expand Down Expand Up @@ -83,7 +84,7 @@ const run = createCliAction(
);
resolver.resolve(Array.from(specifierSet));
logger.info?.(
filePath,
relative(resolvedSrcPath, filePath),
specifierSet.size,
gray(
formatDuration(performance.now() - startTime, {
Expand Down

0 comments on commit 054edfb

Please sign in to comment.