We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e56788 commit 60e5867Copy full SHA for 60e5867
shpc/main/modules/__init__.py
@@ -202,9 +202,10 @@ def create_symlink(self, module_dir):
202
os.symlink(module_dir, symlink_path)
203
204
# If we don't have a version file in root, create it
205
- version_file = os.path.join(os.path.dirname(symlink_path), ".version")
206
- if not os.path.exists(version_file):
207
- Path(version_file).touch()
+ if self.module_extension != "tcl" and self.settings.default_version == True:
+ version_file = os.path.join(os.path.dirname(symlink_path), ".version")
+ if not os.path.exists(version_file):
208
+ Path(version_file).touch()
209
210
def check_symlink(self, module_dir, symlink=False):
211
"""
0 commit comments