Skip to content

Commit 98bc5d6

Browse files
stkbr15ch13
authored andcommitted
Enable writing to hidden .scoop file (#1978) (#1982)
1 parent eadba01 commit 98bc5d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/config.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ function set_config($name, $val) {
5353
$cfg.remove($name)
5454
}
5555

56-
convertto-json $cfg | out-file $cfgpath -encoding utf8
56+
convertto-json $cfg | set-content $cfgpath -encoding utf8
5757
}
5858

5959
$cfg = load_cfg

0 commit comments

Comments
 (0)