style: improve code formatting; refactor module imports
- Apply consistent alignment for struct fields and parameters - Standardize string literal delimiters to single quotes - Refactor module import strategy in `models` package - Enhance asset formatting for precise decimal display - Remove unused imports and redundant `+}` syntax artifacts
This commit is contained in:
@@ -27,7 +27,7 @@ fn (mut repo GitRepo) cache_get() ! {
|
||||
if repo_json.len > 0 {
|
||||
mut cached := json.decode(GitRepo, repo_json)!
|
||||
cached.gs = repo.gs
|
||||
cached.config.remote_check_period = 3600 * 24 * 7
|
||||
cached.config.remote_check_period = 3600 * 24 * 7
|
||||
repo = cached
|
||||
}
|
||||
}
|
||||
|
||||
@@ -182,7 +182,7 @@ pub fn (mut gs GitStructure) check_repos_exist(args ReposActionsArgs) !string {
|
||||
account: args.account
|
||||
provider: args.provider
|
||||
)!
|
||||
|
||||
|
||||
if repos.len > 0 {
|
||||
// Repository exists - print path and return success
|
||||
if !args.script {
|
||||
|
||||
Reference in New Issue
Block a user