aboutsummaryrefslogtreecommitdiff
path: root/examples/tomo-install
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tomo-install')
-rw-r--r--examples/tomo-install/tomo-install.tm4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/tomo-install/tomo-install.tm b/examples/tomo-install/tomo-install.tm
index e584fe66..c705af12 100644
--- a/examples/tomo-install/tomo-install.tm
+++ b/examples/tomo-install/tomo-install.tm
@@ -11,7 +11,7 @@ _HELP := "
"
func find_urls(path:Path -> [Text]):
- urls := @[:Text]
+ urls : @[Text] = @[]
if path:is_directory():
for f in path:children():
urls:insert_all(find_urls(f))
@@ -25,7 +25,7 @@ func main(paths:[Path]):
if paths.length == 0:
paths = [(./)]
- urls := (++: find_urls(p) for p in paths) or [:Text]
+ urls := (++: find_urls(p) for p in paths) or []
github_token := (~/.config/tomo/github-token):read()