mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 04:32:25 -05:00 
			
		
		
		
	[chore] update dependencies, bump to Go 1.19.1 (#826)
* update dependencies, bump Go version to 1.19 * bump test image Go version * update golangci-lint * update gotosocial-drone-build * sign * linting, go fmt * update swagger docs * update swagger docs * whitespace * update contributing.md * fuckin whoopsie doopsie * linterino, linteroni * fix followrequest test not starting processor * fix other api/client tests not starting processor * fix remaining tests where processor not started * bump go-runners version * don't check last-webfingered-at, processor may have updated this * update swagger command * update bun to latest version * fix embed to work the same as before with new bun Signed-off-by: kim <grufwub@gmail.com> Co-authored-by: tsmethurst <tobi.smethurst@protonmail.com>
This commit is contained in:
		
					parent
					
						
							
								00d38855d4
							
						
					
				
			
			
				commit
				
					
						a156188b3e
					
				
			
		
					 1135 changed files with 258905 additions and 137146 deletions
				
			
		
							
								
								
									
										7
									
								
								vendor/github.com/spf13/cobra/powershell_completions.go
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								vendor/github.com/spf13/cobra/powershell_completions.go
									
										
									
										generated
									
									
										vendored
									
									
								
							|  | @ -61,6 +61,7 @@ Register-ArgumentCompleter -CommandName '%[1]s' -ScriptBlock { | |||
|     # Prepare the command to request completions for the program. | ||||
|     # Split the command at the first space to separate the program and arguments. | ||||
|     $Program,$Arguments = $Command.Split(" ",2) | ||||
| 
 | ||||
|     $RequestComp="$Program %[2]s $Arguments" | ||||
|     __%[1]s_debug "RequestComp: $RequestComp" | ||||
| 
 | ||||
|  | @ -90,11 +91,13 @@ Register-ArgumentCompleter -CommandName '%[1]s' -ScriptBlock { | |||
|     } | ||||
| 
 | ||||
|     __%[1]s_debug "Calling $RequestComp" | ||||
|     # First disable ActiveHelp which is not supported for Powershell | ||||
|     $env:%[8]s=0 | ||||
| 
 | ||||
|     #call the command store the output in $out and redirect stderr and stdout to null | ||||
|     # $Out is an array contains each line per element | ||||
|     Invoke-Expression -OutVariable out "$RequestComp" 2>&1 | Out-Null | ||||
| 
 | ||||
| 
 | ||||
|     # get directive from last line | ||||
|     [int]$Directive = $Out[-1].TrimStart(':') | ||||
|     if ($Directive -eq "") { | ||||
|  | @ -242,7 +245,7 @@ Register-ArgumentCompleter -CommandName '%[1]s' -ScriptBlock { | |||
| } | ||||
| `, name, compCmd, | ||||
| 		ShellCompDirectiveError, ShellCompDirectiveNoSpace, ShellCompDirectiveNoFileComp, | ||||
| 		ShellCompDirectiveFilterFileExt, ShellCompDirectiveFilterDirs)) | ||||
| 		ShellCompDirectiveFilterFileExt, ShellCompDirectiveFilterDirs, activeHelpEnvVar(name))) | ||||
| } | ||||
| 
 | ||||
| func (c *Command) genPowerShellCompletion(w io.Writer, includeDesc bool) error { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue