diff --git a/script/tern.py b/script/tern.py index a522a6a..53dd315 100644 --- a/script/tern.py +++ b/script/tern.py @@ -414,6 +414,7 @@ def __ne__(self, other): return K def tern_rename(newName): + if not newName: return data = tern_runCommand({"type": "rename", "newName": newName}, fragments=False) if data is None: return