Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix linting issues
Browse files Browse the repository at this point in the history
cyberbuff committed Feb 5, 2024
1 parent cc5b557 commit 6ad8c7b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Public/Invoke-KickoffAtomicRunner.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function Invoke-KickoffAtomicRunner {
function Invoke-KickoffAtomicRunner {

#log rotation function
function Rotate-Log {
@@ -26,9 +26,9 @@ function Invoke-KickoffAtomicRunner {
#Create log files as needed
$all_log_file = Join-Path $artConfig.atomicLogsPath "all-out-$($artConfig.basehostname).txt"
$all_log_file_cleanup = Join-Path $artConfig.atomicLogsPath "all-out-$($artConfig.basehostname)-cleanup.txt"
New-Item $all_log_file -ItemType file -ErrorAction Ignore
New-Item $all_log_file_cleanup -ItemType file -ErrorAction Ignore
New-Item $artConfig.logFile -ItemType File -ErrorAction Ignore
New-Item $all_log_file -ItemType file -ErrorAction Ignore
New-Item $all_log_file_cleanup -ItemType file -ErrorAction Ignore
New-Item $artConfig.logFile -ItemType File -ErrorAction Ignore

#Rotate logs based on FileSize and Date max_filesize
$max_filesize = 200 #in MB

0 comments on commit 6ad8c7b

Please sign in to comment.