Skip to content

Commit acfefda

Browse files
author
Zhang Cheng
committed
change the setting path
1 parent 0b9ea30 commit acfefda

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Helpers/settingHelper.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ function Read-ChocoSetting {
66

77
begin
88
{
9-
$chocoSettingPath = "$PSScriptRoot/.."
9+
$chocoSettingPath = "$PSScriptRoot/../github2chocoSetting.json"
1010
Write-Verbose "the github2choco setting path is: $([System.IO.Path]::GetFullPath($chocoSettingPath))"
1111
}
1212

@@ -40,7 +40,7 @@ function Save-ChocoSetting {
4040

4141
begin
4242
{
43-
$chocoSettingPath = "$PSScriptRoot/.."
43+
$chocoSettingPath = "$PSScriptRoot/../github2chocoSetting.json"
4444
Write-Verbose "the github2choco setting path is: $([System.IO.Path]::GetFullPath($chocoSettingPath))"
4545
}
4646

@@ -64,7 +64,7 @@ function New-ChocoSetting {
6464

6565
begin
6666
{
67-
$chocoSettingPath = "$PSScriptRoot/.."
67+
$chocoSettingPath = "$PSScriptRoot/../github2chocoSetting.json"
6868
Write-Verbose "the github2choco setting path is: $([System.IO.Path]::GetFullPath($chocoSettingPath))"
6969
}
7070

0 commit comments

Comments
 (0)