From 883adf943bfdee1c4635f5c2f5de00d40882f4e8 Mon Sep 17 00:00:00 2001 From: zztkm Date: Tue, 26 Jul 2022 02:08:07 +0900 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20=E3=83=91=E3=82=B9?= =?UTF-8?q?=E3=82=92=E5=8F=96=E5=BE=97=E3=81=A7=E3=81=8D=E3=81=AA=E3=81=8B?= =?UTF-8?q?=E3=81=A3=E3=81=9F=E3=81=A8=E3=81=8D=E3=81=AB=E3=83=A1=E3=83=83?= =?UTF-8?q?=E3=82=BB=E3=83=BC=E3=82=B8=E3=82=92=E5=87=BA=E3=81=97=E3=81=A6?= =?UTF-8?q?=E7=B5=82=E4=BA=86=E3=81=99=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB?= =?UTF-8?q?=E3=81=97=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vss.v | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/vss.v b/vss.v index 11ce57e..3e1dc8e 100644 --- a/vss.v +++ b/vss.v @@ -10,7 +10,11 @@ fn main() { version: '0.0.0' description: 'static site generator' execute: fn (cmd cli.Command) ? { - paths := get_paths("docs") + paths := get_paths("testfiles") + if paths.len == 0 { + println("Cloud not retrieve path") + return + } for path in paths { println(path) }