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

Commit371a2e1

Browse files
fix: check correct default during template push from stdin (#15293)
I used the wrong default in#14643 - not sure how or why I didn't catchthat..
1 parent144d3f3 commit371a2e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎cli/templatepush.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ func (pf *templateUploadFlags) stdin(inv *serpent.Invocation) (out bool) {
282282
}
283283
}()
284284
// We let the directory override our isTTY check
285-
returnpf.directory=="-"|| (!isTTYIn(inv)&&pf.directory=="")
285+
returnpf.directory=="-"|| (!isTTYIn(inv)&&pf.directory==".")
286286
}
287287

288288
func (pf*templateUploadFlags)upload(inv*serpent.Invocation,client*codersdk.Client) (*codersdk.UploadResponse,error) {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp