From d2dc90fab7e3952c3459fd1f43e4386b00cb32a5 Mon Sep 17 00:00:00 2001 From: Chrissy LeMaire Date: Wed, 16 Oct 2024 12:08:22 +0200 Subject: [PATCH] updates --- .aider/prompts/template.md | 3 +++ .aider/update-tests.ps1 | 2 +- .gitignore | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.aider/prompts/template.md b/.aider/prompts/template.md index 754c7b526f..345864402f 100644 --- a/.aider/prompts/template.md +++ b/.aider/prompts/template.md @@ -31,6 +31,9 @@ Analyze the Pester test files for the dbatools PowerShell module and perform the Make these changes directly in the code. If you encounter any SQL Server-specific testing scenarios that require special handling, implement the necessary adjustments while maintaining the integrity of the tests. +8.5 Adjust parameter check syntax: + - Look at the example below for the new syntax for parameter checks. + 9. EXAMPLE PESTER V5 TEST SCRIPT: ```powershell diff --git a/.aider/update-tests.ps1 b/.aider/update-tests.ps1 index 2cec0510e5..bce5b64111 100644 --- a/.aider/update-tests.ps1 +++ b/.aider/update-tests.ps1 @@ -26,5 +26,5 @@ foreach ($command in $commands) { $cmdprompt = $cmdPrompt -join "`n" # Run Aider in non-interactive mode with auto-confirmation - #aider --message "$cmdPrompt" "$($command.Name).Tests.ps1" --yes + aider --message "$cmdPrompt" "$($command.Name).Tests.ps1" --yes } \ No newline at end of file diff --git a/.gitignore b/.gitignore index d1727cd20b..85542c2505 100644 --- a/.gitignore +++ b/.gitignore @@ -49,3 +49,4 @@ allcommands.ps1 .aider/aider.chat.history.md .aider/aider.input.history .aider/aider.llm.history +.aider*