We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2dcc098 commit 11fc1e8Copy full SHA for 11fc1e8
pkg/fs/util.go
@@ -8,7 +8,7 @@ import (
8
)
9
10
func GenTempFileFromStdin() (string, error) {
11
- tempFile, err := os.CreateTemp("", "stdin")
+ tempFile, err := os.CreateTemp("", "stdin-*.k")
12
if err != nil {
13
return "", err
14
}
pkg/options/run.go
@@ -207,6 +207,10 @@ func (o *RunOptions) Complete(args []string) error {
207
208
209
for _, arg := range args {
210
+ if arg == "-" {
211
+ o.Entries = append(o.Entries, arg)
212
+ continue
213
+ }
214
215
modSpec := downloader.ModSpec{}
216
err := modSpec.FromString(arg)
0 commit comments