Skip to content

Commit

Permalink
fix: Remove leading and trailing spaces from origin at saving
Browse files Browse the repository at this point in the history
fixes #29
  • Loading branch information
domiSchenk committed Sep 11, 2021
1 parent 5602c98 commit 1651d32
Show file tree
Hide file tree
Showing 5 changed files with 117 additions and 117 deletions.
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 = ""
Expand Down
4 changes: 2 additions & 2 deletions src/app/git/commands/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export async function addOriginUrl(url: string, repository: string): Promise<Git
'remote',
'add',
'origin',
url
url.trim()
];

return await runGit(args, repository, 'getOriginUrl');
Expand All @@ -74,7 +74,7 @@ export async function changeOriginUrl(url: string, repository: string): Promise<
'remote',
'set-url',
'origin',
url
url.trim()
];

return await runGit(args, repository, 'getOriginUrl');
Expand Down
Loading

0 comments on commit 1651d32

Please sign in to comment.