Skip to content

Commit 710822a

Browse files
committed
Little tweak for smooth rename.
1 parent 7ef550c commit 710822a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

script/securejboss.groovy

+3-1
Original file line numberDiff line numberDiff line change
@@ -342,8 +342,10 @@ def comment(String file, String line1, String line2, String commentBegin, String
342342

343343
}
344344

345-
if (Const.MODIFY_FILES)
345+
if (Const.MODIFY_FILES) {
346+
f.delete()
346347
r.renameTo(f)
348+
}
347349

348350
}
349351

0 commit comments

Comments
 (0)