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

[Bug] Confirm required when updating PowerShell module apps #5126

Closed
AkariiinMKII opened this issue Aug 26, 2022 · 0 comments · Fixed by #5162
Closed

[Bug] Confirm required when updating PowerShell module apps #5126

AkariiinMKII opened this issue Aug 26, 2022 · 0 comments · Fixed by #5162
Labels

Comments

@AkariiinMKII
Copy link
Contributor

Bug Report

Current Behavior

When updating module apps, following lines pops up

Linking ~\scoop\modules\WhoAteMyRAM => ~\scoop\apps\whoatemyram\current
WARN  ~\scoop\modules\WhoAteMyRAM already exists. It will be replaced.

Confirm
The item at C:\Users\AKAVM\scoop\modules\WhoAteMyRAM has children and the Recurse parameter was not specified. If you
continue, all children will be removed with the item. Are you sure you want to continue?
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "Y"):

Expected Behavior

Continue installation without comfirm

Additional context/output

Possible Solution

Add a -Recurse parameter to

Remove-Item -Path $linkfrom -Force -ErrorAction SilentlyContinue

System details

Windows version: Win 10

OS architecture: 64bit

PowerShell version: 5.1.19041.1682

Additional software: [(optional) e.g. ConEmu, Git]

Scoop Configuration

{
    "lastupdate":  "2022-08-26T23:43:56.8752627+08:00",
    "SCOOP_REPO":  "https://github.com/ScoopInstaller/Scoop",
    "SCOOP_BRANCH":  "master"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant