From 1651d32907b0ad41642774dfaf1580f799e3ea21 Mon Sep 17 00:00:00 2001 From: Dominik Schenk Date: Sat, 11 Sep 2021 23:58:17 +0200 Subject: [PATCH] fix: Remove leading and trailing spaces from origin at saving fixes #29 --- package.json | 24 ++-- src-tauri/Cargo.lock | 2 +- src-tauri/Cargo.toml | 2 +- src/app/git/commands/config.ts | 4 +- yarn.lock | 202 ++++++++++++++++----------------- 5 files changed, 117 insertions(+), 117 deletions(-) diff --git a/package.json b/package.json index ecb0afb..7052be6 100644 --- a/package.json +++ b/package.json @@ -21,15 +21,15 @@ }, "private": true, "dependencies": { - "@angular/animations": "^12.2.3", - "@angular/cdk": "^12.2.2", - "@angular/common": "~12.2.3", - "@angular/compiler": "~12.2.3", - "@angular/core": "~12.2.3", - "@angular/forms": "~12.2.3", - "@angular/platform-browser": "~12.2.3", - "@angular/platform-browser-dynamic": "~12.2.3", - "@angular/router": "~12.2.3", + "@angular/animations": "^12.2.4", + "@angular/cdk": "^12.2.4", + "@angular/common": "~12.2.4", + "@angular/compiler": "~12.2.4", + "@angular/core": "~12.2.4", + "@angular/forms": "~12.2.4", + "@angular/platform-browser": "~12.2.4", + "@angular/platform-browser-dynamic": "~12.2.4", + "@angular/router": "~12.2.4", "@cds/angular": "^5.5.2", "@cds/city": "^1.1.0", "@cds/core": "^5.5.2", @@ -56,9 +56,9 @@ "zone.js": "~0.11.4" }, "devDependencies": { - "@angular-devkit/build-angular": "~12.2.2", - "@angular/cli": "~12.2.2", - "@angular/compiler-cli": "~12.2.3", + "@angular-devkit/build-angular": "~12.2.4", + "@angular/cli": "~12.2.4", + "@angular/compiler-cli": "~12.2.4", "@tauri-apps/cli": "^1.0.0-beta.9", "@types/hogan.js": "^3.0.0", "@types/jasmine": "~3.6.0", diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index b49e7c7..650fb1f 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -31,7 +31,7 @@ checksum = "28ae2b3dec75a406790005a200b1bd89785afc02517a00ca99ecfe093ee9e6cf" [[package]] name = "app" -version = "0.7.5" +version = "0.7.6" dependencies = [ "log", "log4rs", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 993aebc..5ad48da 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "app" -version = "0.7.5" +version = "0.7.6" description = "Commandos is a multi git repo client" authors = [ "Dominik Schenk" ] license = "" diff --git a/src/app/git/commands/config.ts b/src/app/git/commands/config.ts index 8a0af9b..5fff7b8 100644 --- a/src/app/git/commands/config.ts +++ b/src/app/git/commands/config.ts @@ -63,7 +63,7 @@ export async function addOriginUrl(url: string, repository: string): Promise