Skip to content

Commit

Permalink
Enable creation of ApplicationData folder if it doesn't exist yet (#513)
Browse files Browse the repository at this point in the history
  • Loading branch information
hmmwhatsthisdo authored Jul 24, 2024
1 parent 714a441 commit 2c04d56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion JiraPS/JiraPS.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ if (!("System.Net.Http" -as [Type])) {
#endregion Dependencies

#region Configuration
$script:serverConfig = ("{0}/AtlassianPS/JiraPS/server_config" -f [Environment]::GetFolderPath('ApplicationData'))
$script:serverConfig = ("{0}/AtlassianPS/JiraPS/server_config" -f [Environment]::GetFolderPath('ApplicationData', 'Create'))

if (-not (Test-Path $script:serverConfig)) {
$null = New-Item -Path $script:serverConfig -ItemType File -Force
Expand Down

0 comments on commit 2c04d56

Please sign in to comment.