File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ $command
6363 # add alias to config
6464 $aliases | Add-Member - MemberType NoteProperty - Name $name - Value $alias_file
6565
66- set_config $script :config_alias $aliases
66+ set_config $script :config_alias $aliases | Out-Null
6767}
6868
6969function rm_alias ($name ) {
@@ -78,7 +78,7 @@ function rm_alias($name) {
7878 rm_shim $aliases .$name (shimdir $false )
7979
8080 $aliases.PSObject.Properties.Remove ($name )
81- set_config $script :config_alias $aliases
81+ set_config $script :config_alias $aliases | Out-Null
8282 } else {
8383 abort " Alias $name doesn't exist."
8484 }
Original file line number Diff line number Diff line change @@ -40,14 +40,14 @@ $independent = $opt.i -or $opt.independent
4040$repo = $ (get_config SCOOP_REPO)
4141if (! $repo ) {
4242 $repo = " https://github.com/lukesampson/scoop"
43- set_config SCOOP_REPO " $repo "
43+ set_config SCOOP_REPO " $repo " | Out-Null
4444}
4545
4646# Find current update channel from config
4747$branch = $ (get_config SCOOP_BRANCH)
4848if (! $branch ) {
4949 $branch = " master"
50- set_config SCOOP_BRANCH " $branch "
50+ set_config SCOOP_BRANCH " $branch " | Out-Null
5151}
5252
5353if (($PSVersionTable.PSVersion.Major ) -lt 5 ) {
@@ -143,7 +143,7 @@ function update_scoop() {
143143 Pop-Location
144144 }
145145
146- set_config lastupdate ([System.DateTime ]::Now.ToString(' o' ))
146+ set_config lastupdate ([System.DateTime ]::Now.ToString(' o' )) | Out-Null
147147 success ' Scoop was updated successfully!'
148148}
149149
You can’t perform that action at this time.
0 commit comments