Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3fff52a

Browse files
committed
eat error if remote exists
Signed-off-by: shmck <shawn.j.mckay@gmail.com>
1 parentdf85d46 commit3fff52a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎src/validate.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ async function validate(args: string[]) {
5959
consttempGit:SimpleGit=gitP(tmpDir);
6060

6161
awaittempGit.init();
62-
awaittempGit.addRemote("origin",skeleton.config.repo.uri);
62+
awaittempGit
63+
.addRemote("origin",skeleton.config.repo.uri)
64+
.catch(console.warn);
6365
awaittempGit.fetch("origin",skeleton.config.repo.branch);
6466
// no js cherry pick implementation
6567
constcherryPick=createCherryPick(tmpDir);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp