forked from toolshed/abra
		
	refactor(style): errs should not start with upper
This commit is contained in:
		@ -68,7 +68,7 @@ func ParseSecretEnvVarName(secretEnvVar string) string {
 | 
			
		||||
func ParseSecretEnvVarValue(secretValue string) (SecretValue, error) {
 | 
			
		||||
	values := strings.Split(secretValue, "#")
 | 
			
		||||
	if len(values) == 0 {
 | 
			
		||||
		return SecretValue{}, fmt.Errorf("Unable to parse '%s'", secretValue)
 | 
			
		||||
		return SecretValue{}, fmt.Errorf("unable to parse '%s'", secretValue)
 | 
			
		||||
	}
 | 
			
		||||
	if len(values) == 1 {
 | 
			
		||||
		return SecretValue{Version: values[0], Length: 0}, nil
 | 
			
		||||
@ -137,7 +137,7 @@ func GenerateSecrets(secretEnvVars map[string]string, appName, server string) (m
 | 
			
		||||
func PassInsertSecret(secretValue, secretName, appName, server string) error {
 | 
			
		||||
	_, err := exec.LookPath("pass")
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		return errors.New("Pass cannot be found on your $PATH, is it installed?")
 | 
			
		||||
		return errors.New("pass cannot be found on your $PATH, is it installed?")
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	cmd := fmt.Sprintf(
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user