Skip to content

Commit 3335a21

Browse files
authored
Merge pull request #544 from oasisprotocol/matevz/fix/rofl-build-sgx-crash
cmd/rofl/build: Fix crash if no artifacts defined
2 parents 91a9530 + 25dd568 commit 3335a21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/rofl/build/build.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ var (
8989

9090
var buildEnv env.ExecEnv
9191
switch {
92-
case manifest.Artifacts.Builder == "" || noDocker:
92+
case manifest.Artifacts == nil || manifest.Artifacts.Builder == "" || noDocker:
9393
buildEnv = env.NewNativeEnv()
9494
default:
9595
var baseDir string

0 commit comments

Comments
 (0)