create dagger.mod.cue file automatically

Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
This commit is contained in:
Tihomir Jovicic 2021-08-23 06:29:36 +02:00
parent 6a0b74416a
commit a3d2f72ea3

View File

@ -51,7 +51,7 @@ func read(f io.Reader) (*file, error) {
lines := nonEmptyLines(b)
if len(lines) == 0 {
return nil, fmt.Errorf("mod file is empty, missing module name")
return nil, fmt.Errorf("cue.mod/dagger.mod.cue file is empty, missing module name")
}
var module string