Skip to content

Commit c2e237b

Browse files
authored
Add missing write in updating script (#1590)
1 parent b1e899c commit c2e237b

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

docs/src/release_notes.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,8 @@ for (root, dirs, files) in walkdir(".")
113113
if !endswith(file, ".jl")
114114
continue
115115
end
116-
s = read(joinpath(root, file), String)
116+
path = joinpath(root, file)
117+
s = read(path, String)
117118
for pair in [
118119
".variable_index" => ".variable",
119120
"RawParameter" => "RawOptimizerAttribute",
@@ -128,9 +129,11 @@ for (root, dirs, files) in walkdir(".")
128129
"VariableIndexConstraintNameError",
129130
"SettingSingleVariableFunctionNotAllowed" =>
130131
"SettingVariableIndexFunctionNotAllowed",
132+
"automatic_copy_to" => "default_copy_to",
131133
]
132134
s = replace(s, pair)
133135
end
136+
write(path, s)
134137
end
135138
end
136139
```

0 commit comments

Comments
 (0)