Skip to content

Commit 1165868

Browse files
authored
Change an @static if Base.VERSION to if Base.VERSION
1 parent c7d03e7 commit 1165868

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/slurmmanager.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ function Distributed.launch(manager::SlurmManager, params::Dict, instances_arr::
181181

182182
_srun_cmd_without_env = `srun -D $exehome $exename $exeflags --worker`
183183

184-
@static if Base.VERSION >= v"1.6.0"
184+
if Base.VERSION >= v"1.6.0"
185185
# Pass the key-value pairs from `params[:env]` to the `srun` command:
186186
env2 = _new_environment_additions(Dict{String,String}(params[:env]))
187187
srun_cmd_with_env = addenv(_srun_cmd_without_env, env2)

0 commit comments

Comments
 (0)