Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion eng/tools/summarize-impact/src/cli.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { getChangedFilesStatuses } from "@azure-tools/specs-shared/changed-files";
import { setOutput } from "@azure-tools/specs-shared/error-reporting";
import { defaultLogger } from "@azure-tools/specs-shared/logger";
import { evaluateImpact, getRPaaSFolderList } from "./impact.js";

import { getRootFolder } from "@azure-tools/specs-shared/simple-git";
Expand Down Expand Up @@ -74,7 +75,7 @@
const targetDirectory = opts.targetDirectory as string;
const sourceGitRoot = await getRootFolder(sourceDirectory);
const targetGitRoot = await getRootFolder(targetDirectory);
const fileList = await getChangedFilesStatuses({ cwd: sourceGitRoot, paths: ["specification"] });
const fileList = await getChangedFilesStatuses({ cwd: sourceGitRoot, logger: defaultLogger, paths: ["specification"] });
const sha = opts.sha as string;
const sourceBranch = opts.sourceBranch as string;
const targetBranch = opts.targetBranch as string;
Expand Down
Loading