From e7dfe3415a3ccb22ca5f6b593bd12d32d5fd0526 Mon Sep 17 00:00:00 2001 From: Brad Steinberg Date: Sun, 22 Jun 2025 13:39:41 -0400 Subject: [PATCH 1/4] Corrected typo in FlattenArray.ps1 --- exercises/practice/flatten-array/FlattenArray.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/practice/flatten-array/FlattenArray.ps1 b/exercises/practice/flatten-array/FlattenArray.ps1 index 1e08edf7..8e52a021 100644 --- a/exercises/practice/flatten-array/FlattenArray.ps1 +++ b/exercises/practice/flatten-array/FlattenArray.ps1 @@ -4,7 +4,7 @@ Function Invoke-FlattenArray() { Take a nested array and return a single flattened array with all values except null. .DESCRIPTION - Given an array, flatten it and keep all values execept null. + Given an array, flatten it and keep all values except null. .PARAMETER Array The nested array to be flatten. From d331543ed5d05a7f7cb80f6ae81a33f4cee56cc6 Mon Sep 17 00:00:00 2001 From: Brad Steinberg Date: Sun, 22 Jun 2025 14:48:59 -0400 Subject: [PATCH 2/4] Fixed typo in Parameter Array. --- exercises/practice/flatten-array/FlattenArray.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/practice/flatten-array/FlattenArray.ps1 b/exercises/practice/flatten-array/FlattenArray.ps1 index 8e52a021..fa812f04 100644 --- a/exercises/practice/flatten-array/FlattenArray.ps1 +++ b/exercises/practice/flatten-array/FlattenArray.ps1 @@ -7,7 +7,7 @@ Function Invoke-FlattenArray() { Given an array, flatten it and keep all values except null. .PARAMETER Array - The nested array to be flatten. + The nested array to be flattened. .EXAMPLE Invoke-FlattenArray -Array @(1, @(2, 3, $null, 4), @($null), 5) From 0ca78335e9afbcfada857b8ed2c8442c7a66f472 Mon Sep 17 00:00:00 2001 From: Brad Steinberg Date: Fri, 27 Jun 2025 13:22:19 -0400 Subject: [PATCH 3/4] Fixed typo and grammar in meta example --- .../practice/flatten-array/.meta/FlattenArray.example.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exercises/practice/flatten-array/.meta/FlattenArray.example.ps1 b/exercises/practice/flatten-array/.meta/FlattenArray.example.ps1 index f2bcdfc3..a1507499 100644 --- a/exercises/practice/flatten-array/.meta/FlattenArray.example.ps1 +++ b/exercises/practice/flatten-array/.meta/FlattenArray.example.ps1 @@ -1,13 +1,13 @@ Function Invoke-FlattenArray() { <# .SYNOPSIS - Given an array, flatten it and keep all values execept null. + Given an array, flatten it and keep all values except null. .DESCRIPTION Take a nested array and return a single flattened array with all values except null. .PARAMETER Array - The nested array to be flatten. + The nested array to be flattened. .EXAMPLE Invoke-FlattenArray -Array @(1, @(2, 3, $null, 4), @($null), 5) From e729e81e9394b6332b6616719bda84fc5c77f874 Mon Sep 17 00:00:00 2001 From: Brad Steinberg Date: Fri, 27 Jun 2025 13:28:01 -0400 Subject: [PATCH 4/4] Swapped the Synopsis and Description strings to match the exercise file. --- .../practice/flatten-array/.meta/FlattenArray.example.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exercises/practice/flatten-array/.meta/FlattenArray.example.ps1 b/exercises/practice/flatten-array/.meta/FlattenArray.example.ps1 index a1507499..4ee1dd67 100644 --- a/exercises/practice/flatten-array/.meta/FlattenArray.example.ps1 +++ b/exercises/practice/flatten-array/.meta/FlattenArray.example.ps1 @@ -1,10 +1,10 @@ Function Invoke-FlattenArray() { <# .SYNOPSIS - Given an array, flatten it and keep all values except null. + Take a nested array and return a single flattened array with all values except null. .DESCRIPTION - Take a nested array and return a single flattened array with all values except null. + Given an array, flatten it and keep all values except null. .PARAMETER Array The nested array to be flattened.