Skip to content

Commit eaf0f30

Browse files
🩹 [Patch]: Encode all PowerShell files using UTF8 with BOM (#231)
## Description This pull request updates several PowerShell script files across the project. The main change is the addition of a Unicode Byte Order Mark (BOM) at the beginning of each file, which can help ensure proper encoding and compatibility, especially on Windows systems. No functional code changes have been made.
1 parent c774534 commit eaf0f30

File tree

11 files changed

+11
-11
lines changed

11 files changed

+11
-11
lines changed

.specify/scripts/powershell/check-prerequisites.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env pwsh
1+
#!/usr/bin/env pwsh
22

33
# Consolidated prerequisite checking script (PowerShell)
44
#

.specify/scripts/powershell/common.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env pwsh
1+
#!/usr/bin/env pwsh
22
# Common PowerShell functions analogous to common.sh
33

44
function Get-RepoRoot {

.specify/scripts/powershell/create-new-feature.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env pwsh
1+
#!/usr/bin/env pwsh
22
# Create a new feature
33
[CmdletBinding()]
44
param(

.specify/scripts/powershell/setup-plan.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env pwsh
1+
#!/usr/bin/env pwsh
22
# Setup implementation plan for a feature
33

44
[CmdletBinding()]

.specify/scripts/powershell/update-agent-context.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env pwsh
1+
#!/usr/bin/env pwsh
22
<#!
33
.SYNOPSIS
44
Update agent context files with information from plan.md (PowerShell version)

tests/srcTestRepo/src/variables/public/Planets.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
$script:Planets = @(
1+
$script:Planets = @(
22
@{
33
Name = 'Mercury'
44
Mass = 0.330

tests/srcTestRepo/tests/AfterAll.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Write-Warning "=== AFTERALL TEARDOWN SCRIPT EXECUTING ==="
1+
Write-Warning "=== AFTERALL TEARDOWN SCRIPT EXECUTING ==="
22
Write-Warning "Tearing down test environment..."
33

44
# Example teardown tasks:

tests/srcTestRepo/tests/BeforeAll.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Write-Warning "=== BEFOREALL SETUP SCRIPT EXECUTING ==="
1+
Write-Warning "=== BEFOREALL SETUP SCRIPT EXECUTING ==="
22
Write-Warning "Setting up test environment..."
33

44
# Example setup tasks:

tests/srcWithManifestTestRepo/src/variables/public/Planets.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
$script:Planets = @(
1+
$script:Planets = @(
22
@{
33
Name = 'Mercury'
44
Mass = 0.330

tests/srcWithManifestTestRepo/tests/AfterAll.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Write-Warning "=== AFTERALL TEARDOWN SCRIPT (Environments) EXECUTING ==="
1+
Write-Warning "=== AFTERALL TEARDOWN SCRIPT (Environments) EXECUTING ==="
22
Write-Warning "Tearing down test environment for Environments..."
33

44
# Example teardown tasks for Environments directory:

0 commit comments

Comments
 (0)