Skip to content

Commit 83d0fef

Browse files
authored
fix(shortcuts): Fix missing parentheses (#5006)
* fix(shortcuts): Fix missing parentheses * Update CHANGELOG.md
1 parent 0fd6657 commit 83d0fef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
### Bug Fixes
44

55
- **chore:** Update help documentation ([#5002](https://github.com/ScoopInstaller/Scoop/issues/5002))
6-
- **shortcuts:** Fix network drive shortcut creation ([#4410](https://github.com/ScoopInstaller/Scoop/issues/4410))
6+
- **shortcuts:** Fix network drive shortcut creation ([#4410](https://github.com/ScoopInstaller/Scoop/issues/4410)), ([#5006](https://github.com/ScoopInstaller/Scoop/issues/5006))
77

88
### Code Refactoring
99

lib/shortcuts.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function shortcut_folder($global) {
2525
} else {
2626
$startmenu = 'StartMenu'
2727
}
28-
return Convert-Path $(ensure [System.IO.Path]::Combine([Environment]::GetFolderPath($startmenu), 'Programs', 'Scoop Apps'))
28+
return Convert-Path (ensure ([System.IO.Path]::Combine([Environment]::GetFolderPath($startmenu), 'Programs', 'Scoop Apps')))
2929
}
3030

3131
function startmenu_shortcut([System.IO.FileInfo] $target, $shortcutName, $arguments, [System.IO.FileInfo]$icon, $global) {

0 commit comments

Comments
 (0)