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

Commit5ee89ee

Browse files
authored
Merge pull requestcoderoad#73 from coderoad/validate-remote-exists
eat error if remote exists
2 parentse39dc91 +4cbcc63 commit5ee89ee

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
@@ -58,7 +58,9 @@ async function validate (args: string[]) {
5858
consttempGit:SimpleGit=gitP(tmpDir)
5959

6060
awaittempGit.init()
61-
awaittempGit.addRemote('origin',skeleton.config.repo.uri)
61+
awaittempGit
62+
.addRemote('origin',skeleton.config.repo.uri)
63+
.catch(console.warn)
6264
awaittempGit.fetch('origin',skeleton.config.repo.branch)
6365
// no js cherry pick implementation
6466
constcherryPick=createCherryPick(tmpDir)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp