File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed
deployment/instance/state Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -225,7 +225,7 @@ func (b *builder) renderJobTemplates(
225225
226226func (b * builder ) defaultAddress (networkRefs []NetworkRef , agentState agentclient.AgentState ) (string , error ) {
227227
228- if ( networkRefs == nil ) || ( len (networkRefs ) == 0 ) {
228+ if len (networkRefs ) == 0 {
229229 return "" , errors .New ("Must specify network" ) //nolint:staticcheck
230230 }
231231
Original file line number Diff line number Diff line change 1+ {
2+ "$schema" : " https://raw.githubusercontent.com/jetify-com/devbox/0.16.0/.schema/devbox.schema.json" ,
3+ "packages" : [
4+ " go@latest" ,
5+ " ruby@3.4.8" ,
6+ " golangci-lint@latest"
7+ ],
8+ "shell" : {
9+ "init_hook" : [
10+ " echo 'Welcome to devbox!' > /dev/null"
11+ ],
12+ "scripts" : {
13+ "test" : [
14+ " echo \" Error: no test specified\" && exit 1"
15+ ]
16+ }
17+ }
18+ }
You can’t perform that action at this time.
0 commit comments