Fix copilot-setup-steps.yml and address PR review comments

Co-authored-by: pangerlkr <73515951+pangerlkr@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-02-18 07:22:05 +00:00
parent c68f7efcdc
commit 90e6a8c63b
4 changed files with 34 additions and 21 deletions

View File

@@ -1632,7 +1632,7 @@ function runTests() {
else failed++;
// Round 111: getExecCommand with newline in args
console.log('\nRound 111: getExecCommand (newline in args — SAFE_ARGS_REGEX \\\\\\\\s matches \\\\\\n):');
console.log('\n' + String.raw`Round 111: getExecCommand (newline in args — SAFE_ARGS_REGEX \s matches \n):`);
if (test('getExecCommand accepts newline in args because SAFE_ARGS_REGEX includes newline', () => {
// SAFE_ARGS_REGEX = /^[@a-zA-Z0-9\\s_.\\/:=,'\"*+-\\]+$/

View File

@@ -787,7 +787,6 @@ function runTests() {
// Verify the file exists
const aliasesPath = path.join(tmpHome, '.claude', 'session-aliases.json');
assert.ok(fs.existsSync(aliasesPath), 'Aliases file should exist');
const _contentBefore = fs.readFileSync(aliasesPath, 'utf8');
// Attempt to save circular data — will fail
const circular = { aliases: {}, metadata: {} };