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 7871b39 commit 9da5135Copy full SHA for 9da5135
snowsaw/plugins/link.py
@@ -51,8 +51,8 @@ def _process_links(self, links):
51
if hosts:
52
if hostname in hosts:
53
path = os.path.expandvars(os.path.expanduser(hosts.get(hostname)))
54
- elif "default" in hosts:
55
- path = os.path.expandvars(os.path.expanduser(hosts.get("default")))
+ elif "-" in hosts:
+ path = os.path.expandvars(os.path.expanduser(hosts.get("-")))
56
self._log.lowinfo("Applying default link {} -> {}".format(destination, os.path.join(self._context.snowblock_dir(),path)))
57
else:
58
for host in hosts.items():
0 commit comments