Skip to content

Commit

Permalink
fix rename (x2)
Browse files Browse the repository at this point in the history
  • Loading branch information
cubewhy committed Jan 23, 2024
1 parent 84ffa49 commit 77338ae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ public static String findAgentArg(String name) {
public static void migrate(String old, String n3w) {
JsonObject ja = config.getValue("javaagents").getAsJsonObject();
String arg;
if (ja.get(old) == null) {
if (ja.get(old) == null && ja.get(old).isJsonNull()) {
arg = null;
} else {
arg = ja.get(old).getAsString();
Expand Down

0 comments on commit 77338ae

Please sign in to comment.