fix: script analyzer reccomendations.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
function Format-MissingActions {
|
||||
function Format-MissingAction {
|
||||
param ([array]$missingActions)
|
||||
|
||||
$actionGroups = @{
|
@@ -1,5 +1,6 @@
|
||||
function Get-RequiredModule {
|
||||
[CmdletBinding(DefaultParameterSetName = 'AuditFunction')]
|
||||
[OutputType([PSCustomObject])]
|
||||
param (
|
||||
[Parameter(Mandatory = $true, ParameterSetName = 'AuditFunction')]
|
||||
[switch]$AuditFunction,
|
||||
|
@@ -25,7 +25,7 @@ function Update-CISExcelWorksheet {
|
||||
|
||||
|
||||
# Update the worksheet with the provided data
|
||||
Update-WorksheetCells -Worksheet $worksheet -Data $Data -StartingRowIndex $StartingRowIndex
|
||||
Update-WorksheetCell -Worksheet $worksheet -Data $Data -StartingRowIndex $StartingRowIndex
|
||||
|
||||
# Save and close the Excel package
|
||||
Close-ExcelPackage $excelPackage
|
||||
|
@@ -1,4 +1,4 @@
|
||||
function Update-WorksheetCells {
|
||||
function Update-WorksheetCell {
|
||||
param (
|
||||
$Worksheet,
|
||||
$Data,
|
Reference in New Issue
Block a user