Skip to content

Commit

Permalink
fix character encoding issue (#180)
Browse files Browse the repository at this point in the history
* fix character encoding issue

* adding install-atomicsfolder check

---------

Co-authored-by: Hare Sudhan <[email protected]>
  • Loading branch information
clr2of8 and cyberbuff authored Dec 28, 2023
1 parent ee5746d commit 9005266
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/check-installation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ jobs:
Install-AtomicRedTeam -RepoOwner "${{ github.event.pull_request.head.repo.owner.login }}" -Branch "${{ github.event.pull_request.head.ref }}" -Force
if($error.contains("Installation of AtomicRedTeam Failed")){
exit 1
}
}
IEX (IWR 'https://raw.githubusercontent.com/${{ github.event.pull_request.head.repo.full_name }}/${{ github.event.pull_request.head.ref }}/install-atomicsfolder.ps1' -UseBasicParsing);
Install-AtomicsFolder -Force
4 changes: 2 additions & 2 deletions install-atomicsfolder.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function Install-AtomicsFolder {
function Install-AtomicsFolder {

<#
.SYNOPSIS
Expand Down Expand Up @@ -141,4 +141,4 @@
Write-Error "Installation of the AtomicsFolder Failed."
Write-Host $_.Exception.Message`n
}
}
}

0 comments on commit 9005266

Please sign in to comment.