
























@@ -2,10 +2,12 @@ const normalizeRepoPath = (value) => value.replaceAll("\\", "/");
2233const commandsLightEntries = [
44{ source: "src/commands/cleanup-utils.ts", test: "src/commands/cleanup-utils.test.ts" },
5+{ test: "src/commands/auth-choice.test.ts" },
56{
67source: "src/commands/dashboard.links.ts",
78test: "src/commands/dashboard.links.test.ts",
89},
10+{ test: "src/commands/daemon-install-helpers.test.ts" },
911{ source: "src/commands/doctor-browser.ts", test: "src/commands/doctor-browser.test.ts" },
1012{
1113source: "src/commands/doctor-gateway-auth-token.ts",
@@ -39,10 +41,9 @@ const commandsLightEntries = [
3941source: "src/commands/gateway-status/helpers.ts",
4042test: "src/commands/gateway-status/helpers.test.ts",
4143},
42-{
43-source: "src/commands/models/auth.ts",
44-test: "src/commands/models/auth.test.ts",
45-},
44+{ test: "src/commands/models/auth.test.ts" },
45+{ test: "src/commands/models/list.auth-index.test.ts" },
46+{ test: "src/commands/models/list.list-command.forward-compat.test.ts" },
4647{
4748source: "src/commands/models/list.status-command.ts",
4849test: "src/commands/models/list.status.test.ts",
@@ -79,13 +80,19 @@ const commandsLightEntries = [
7980];
80818182const commandsLightIncludePatternByFile = new Map(
82-commandsLightEntries.flatMap(({ source, test }) => [
83-[source, test],
84-[test, test],
85-]),
83+commandsLightEntries.flatMap(({ source, test }) =>
84+source
85+ ? [
86+[source, test],
87+[test, test],
88+]
89+ : [[test, test]],
90+),
8691);
879288-export const commandsLightSourceFiles = commandsLightEntries.map(({ source }) => source);
93+export const commandsLightSourceFiles = commandsLightEntries.flatMap(({ source }) =>
94+source ? [source] : [],
95+);
8996export const commandsLightTestFiles = commandsLightEntries.map(({ test }) => test);
90979198export function isCommandsLightTarget(file) {
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。