fix(cmd/joj3): use single quote for valid scopes

This commit is contained in:
张泊明518370910136 2024-10-08 18:33:18 -04:00
parent c30ed44633
commit f785950053
GPG Key ID: D47306D7062CDA9D

View File

@ -185,7 +185,7 @@ func ListValidScopes(confRoot, confName string) ([]string, error) {
relPath = ""
}
validScopes = append(validScopes,
fmt.Sprintf("\"%s\"", relPath))
fmt.Sprintf("'%s'", relPath))
}
}
return nil