Skip to content

Commit

Permalink
Enable creation of ApplicationData folder if it doesn't exist yet
Browse files Browse the repository at this point in the history
  • Loading branch information
hmmwhatsthisdo authored Jul 24, 2024
1 parent 845495f commit d22cf1c
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 d22cf1c

Please sign in to comment.