clean up comments
Signed-off-by: Sam Alba <sam.alba@gmail.com>
This commit is contained in:
parent
57a168e6b5
commit
7484df45cd
@ -11,11 +11,13 @@ func isReference(val *compiler.Value) bool {
|
||||
_, ref := val.ReferencePath()
|
||||
|
||||
if ref.String() == "" || val.Path().String() == ref.String() {
|
||||
// not a reference
|
||||
return false
|
||||
}
|
||||
|
||||
for _, s := range ref.Selectors() {
|
||||
if s.IsDefinition() {
|
||||
// if we reference to a definition, we skip the check
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
@ -7,7 +7,6 @@ import (
|
||||
// An artifact such as source code checkout, container image, binary archive...
|
||||
// May be passed as user input, or computed by a buildkit pipeline
|
||||
|
||||
// FIXME (perf). See https://github.com/dagger/dagger/issues/445
|
||||
#Artifact: {
|
||||
@dagger(artifact)
|
||||
#up: [...op.#Op]
|
||||
|
Reference in New Issue
Block a user