Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(autoupdate): Preparation for array support #154

Open
wants to merge 19 commits into
base: NEW
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 21 additions & 17 deletions .devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,27 @@
"profile": "default"
}
},
"extensions": [
"DavidAnson.vscode-markdownlint",
"eamodio.gitlens",
"EditorConfig.EditorConfig",
"gruntfuggly.todo-tree",
"k--kato.intellij-idea-keybindings",
"medo64.render-crlf",
"ms-vscode.powershell-preview",
"redhat.vscode-yaml",
"usernamehw.errorlens",
"yzhang.markdown-all-in-one"
],
"settings": {
"terminal.integrated.defaultProfile.linux": "zsh",
"powershell.powerShellDefaultVersion": "PowerShell Core (Linux)",
"powershell.powerShellAdditionalExePaths": {
"PowerShell Core (Linux)": "/usr/local/bin/pwsh"
"customizations": {
"vscode": {
"extensions": [
"DavidAnson.vscode-markdownlint",
"eamodio.gitlens",
"EditorConfig.EditorConfig",
"gruntfuggly.todo-tree",
"k--kato.intellij-idea-keybindings",
"medo64.render-crlf",
"ms-vscode.powershell-preview",
"redhat.vscode-yaml",
"usernamehw.errorlens",
"yzhang.markdown-all-in-one"
],
"settings": {
"terminal.integrated.defaultProfile.linux": "zsh",
"powershell.powerShellDefaultVersion": "PowerShell Core (Linux)",
"powershell.powerShellAdditionalExePaths": {
"PowerShell Core (Linux)": "/usr/local/bin/pwsh"
}
}
}
}
}
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## [0.6.5](https://github.com/Ash258/Scoop-Core/milestone/5)

- **Autoupdate**: Properly support multiple items for specific properties
- **Git**: Call git internally to prevent spawning of `cmd.exe` or `$SHELL`
- **getopt**: Support multiple same options passed
- **Config**: Prefer `~/.config/Shovel` over `~/.config/scoop`
Expand All @@ -23,7 +24,7 @@
- **scoop-info**: Adopt new resolve function for parameter passing
- **Diagnostic**: Ignore completion check when `-noprofile` is used (cmd usage most likely)
- **commands**: Short option `-a` will not produce default architecture always
- Increase command startup
- Improve command startup
- Prevent MSI installations in NanoServer images
- Installation will not fail if `commonstartmenu` or `startmenu` system folder is not defined
- Print not supported message only if operation will be executed
Expand Down
2 changes: 1 addition & 1 deletion lib/Helpers.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ function Invoke-VariableSubstitution {
}
}
'Object[]' {
$newEntity = $newEntity | ForEach-Object { Invoke-VariableSubstitution -Entity $_ -Substitutes $Substitutes -EscapeRegularExpression:$regexEscape }
$newEntity = $newEntity | ForEach-Object { , (Invoke-VariableSubstitution -Entity $_ -Substitutes $Substitutes -EscapeRegularExpression:$regexEscape) }
}
'PSCustomObject' {
$newentity.PSObject.Properties | ForEach-Object { $_.Value = Invoke-VariableSubstitution -Entity $_ -Substitutes $Substitutes -EscapeRegularExpression:$regexEscape }
Expand Down
Loading