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 38c7824 commit 909933bCopy full SHA for 909933b
cmd/src-fingerprint/main.go
@@ -26,7 +26,12 @@ func runExtract(
26
objects []string,
27
after string,
28
limit int) chan srcfingerprint.PipelineEvent {
29
- // buffer it a bit so it won't block if this is going too fast
+ // If there is no object, default to an empty object
30
+ if len(objects) == 0 {
31
+ objects = []string{""}
32
+ }
33
+
34
+ // buffer it a bit, so it won't block if this is going too fast
35
ch := make(chan srcfingerprint.PipelineEvent, MaxPipelineEvents)
36
37
go func(eventChannel chan srcfingerprint.PipelineEvent) {
0 commit comments