chore: format evaluator fix commits and suppress intentional DAP placeholder lint
This commit is contained in:
@@ -445,9 +445,7 @@ async function git(cwd: string, args: readonly string[], options: CommandOptions
|
||||
if (isEnoent(err)) {
|
||||
// A deleted/nonexistent cwd also surfaces as a spawn ENOENT; only blame
|
||||
// the binary when the working directory actually exists.
|
||||
const stderr = fs.existsSync(cwd)
|
||||
? "git is not installed."
|
||||
: `working directory does not exist: ${cwd}`;
|
||||
const stderr = fs.existsSync(cwd) ? "git is not installed." : `working directory does not exist: ${cwd}`;
|
||||
return { exitCode: GIT_SPAWN_ENOENT_EXIT_CODE, stdout: "", stderr };
|
||||
}
|
||||
throw err;
|
||||
|
||||
@@ -538,6 +538,7 @@ await Bun.sleep(60_000);
|
||||
await fs.writeFile(adapterPath, source);
|
||||
const adapter: DapResolvedAdapter = {
|
||||
...TCP_ADAPTER_BASE,
|
||||
// biome-ignore lint/suspicious/noTemplateCurlyInString: literal DAP `${port}` placeholder substituted by the adapter launcher
|
||||
args: [adapterPath, "${port}", "127.0.0.1"],
|
||||
};
|
||||
try {
|
||||
|
||||
@@ -187,7 +187,8 @@ describe("fixChangelogContent", () => {
|
||||
});
|
||||
|
||||
it("keeps bullets the rewrite preserved verbatim instead of dropping them as consumed", () => {
|
||||
const keptItem = "- Fixed crash when opening the empty settings panel ([#1234](https://github.com/can1357/oh-my-pi/issues/1234)).";
|
||||
const keptItem =
|
||||
"- Fixed crash when opening the empty settings panel ([#1234](https://github.com/can1357/oh-my-pi/issues/1234)).";
|
||||
const document = parseChangelog(
|
||||
["# Changelog", "", "## [Unreleased]", "", "### Fixed", "", keptItem, ""].join("\n"),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user