Skip to content

Commit 84e00fd

Browse files
authored
fix(scoop-bucket): Add missing import for no_junction envs (#6181)
Signed-off-by: Chawye Hsu <[email protected]>
1 parent 7a309a1 commit 84e00fd

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

CHANGELOG.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
- **scoop-download|install|update:** Fallback to default downloader when aria2 fails ([#4292](https://github.com/ScoopInstaller/Scoop/issues/4292))
66
- **decompress**: `Expand-7zipArchive` only delete temp dir / `$extractDir` if it is empty ([#6092](https://github.com/ScoopInstaller/Scoop/issues/6092))
77
- **commands**: Handling broken aliases ([#6141](https://github.com/ScoopInstaller/Scoop/issues/6141))
8-
- **shim:** Do not suppress `stderr`, properly check `wslpath`/`cygpath` command first ([#6114](https://github.com/ScoopInstaller/Scoop/pull/6114))
8+
- **shim:** Do not suppress `stderr`, properly check `wslpath`/`cygpath` command first ([#6114](https://github.com/ScoopInstaller/Scoop/issues/6114))
9+
- **scoop-bucket:** Add missing import for `no_junction` envs ([#6181](https://github.com/ScoopInstaller/Scoop/issues/6181))
910

1011
### Code Refactoring
1112

@@ -53,7 +54,7 @@
5354
- **checkver:** Correct error messages ([#6024](https://github.com/ScoopInstaller/Scoop/issues/6024))
5455
- **core:** Search for Git executable instead of any cmdlet ([#5998](https://github.com/ScoopInstaller/Scoop/issues/5998))
5556
- **core:** Use correct path in 'bash' ([#6006](https://github.com/ScoopInstaller/Scoop/issues/6006))
56-
- **core:** Limit the number of commands to get when search for git executable ([#6013](https://github.com/ScoopInstaller/Scoop/pull/6013))
57+
- **core:** Limit the number of commands to get when search for git executable ([#6013](https://github.com/ScoopInstaller/Scoop/issues/6013))
5758
- **decompress:** Match `extract_dir`/`extract_to` and archives ([#5983](https://github.com/ScoopInstaller/Scoop/issues/5983))
5859
- **json:** Serialize jsonpath return ([#5921](https://github.com/ScoopInstaller/Scoop/issues/5921))
5960
- **shim:** Restore original path for JAR cmd ([#6030](https://github.com/ScoopInstaller/Scoop/issues/6030))

libexec/scoop-bucket.ps1

+4
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919
# scoop bucket known
2020
param($cmd, $name, $repo)
2121

22+
if (get_config NO_JUNCTION) {
23+
. "$PSScriptRoot\..\lib\versions.ps1"
24+
}
25+
2226
if (get_config USE_SQLITE_CACHE) {
2327
. "$PSScriptRoot\..\lib\manifest.ps1"
2428
. "$PSScriptRoot\..\lib\database.ps1"

0 commit comments

Comments
 (0)