From e09d3eef5f8ded8fac16feb2c2cf6eb51dc98c9e Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Mon, 16 Aug 2021 08:33:53 +0300 Subject: [PATCH] tools/fast: fix uploading --- cmd/tools/fast/fast.v | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/tools/fast/fast.v b/cmd/tools/fast/fast.v index 36118ebdca..a4b4650380 100644 --- a/cmd/tools/fast/fast.v +++ b/cmd/tools/fast/fast.v @@ -118,7 +118,8 @@ fn main() { // exec('git checkout master') // os.write_file('last_commit.txt', commits[commits.len - 1]) ? // Upload the result to github pages - if os.args.contains('upload') { + if os.args.contains('-upload') { + println('uploading...') os.chdir('website') os.execute_or_exit('git checkout gh-pages') os.cp('../index.html', 'index.html') ?