Allow for nil buildkit References

Signed-off-by: Joel Longtine <joel@dagger.io>
This commit is contained in:
Joel Longtine
2021-12-21 10:42:05 -07:00
parent 75d5ab8f01
commit a90ff8ab94
6 changed files with 20 additions and 15 deletions

View File

@@ -60,7 +60,7 @@ func (t *writeFileTask) Run(ctx context.Context, pctx *plancontext.Context, s so
return nil, err
}
inputState, err := input.Result().ToState()
inputState, err := input.State()
if err != nil {
return nil, err