@@ -128,7 +128,7 @@ func (c *Client) buildCommand(target *core.BuildTarget, inputRoot *pb.Directory,
128128 }
129129 cmd , err := core .ReplaceSequences (state , target , cmd )
130130 return & pb.Command {
131- Platform : c .targetPlatformProperties (target ),
131+ Platform : c .targetPlatformProperties (target ), //nolint:staticcheck
132132 Arguments : process .BashCommand (c .shellPath , commandPrefixBuilder .String ()+ cmd , state .Config .Build .ExitOnError ),
133133 EnvironmentVariables : c .buildEnv (target , c .stampedBuildEnvironment (state , target , inputRoot , stamp , isTest || isRun ), target .Sandbox ),
134134 OutputPaths : outs ,
@@ -161,7 +161,7 @@ func (c *Client) buildTestCommand(state *core.BuildState, target *core.BuildTarg
161161 }
162162 cmd , err := core .TestCommand (state , target )
163163 return & pb.Command {
164- Platform : & pb.Platform {
164+ Platform : & pb.Platform { //nolint:staticcheck
165165 Properties : []* pb.Platform_Property {
166166 {
167167 Name : "OSFamily" ,
@@ -182,7 +182,7 @@ func (c *Client) buildRunCommand(state *core.BuildState, target *core.BuildTarge
182182 return nil , fmt .Errorf ("Target %s has no outputs, it can't be run with `plz run`" , target )
183183 }
184184 return & pb.Command {
185- Platform : c .platform ,
185+ Platform : c .platform , //nolint:staticcheck
186186 Arguments : outs ,
187187 EnvironmentVariables : c .buildEnv (target , core .GeneralBuildEnvironment (state ), false ),
188188 }, nil
0 commit comments