Skip to content

Commit 9bbc95d

Browse files
authored
[email protected]: Fix persistence (#16915)
1 parent 9293407 commit 9bbc95d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

bucket/pscompletions.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@
1818
" '{}' | Out-File -FilePath \"$dir\\data.json\" -Encoding utf8 -Force",
1919
"}"
2020
],
21+
"post_install": [
22+
"if (Test-Path \"$dir\\completions.original\") {",
23+
" Copy-Item -Path \"$dir\\completions.original\\*\" -Destination \"$dir\\completions\" -Force -Recurse",
24+
" Remove-Item \"$dir\\completions.original\" -Force -Recurse | Out-Null",
25+
"}"
26+
],
2127
"psmodule": {
2228
"name": "PSCompletions"
2329
},

0 commit comments

Comments
 (0)