From 87334296eee708b34fce7a9dd0302c1fbede7a9e Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Fri, 25 Mar 2022 16:36:27 +0800 Subject: [PATCH] Fix clone url JS error for the empty repo page --- templates/repo/empty.tmpl | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/templates/repo/empty.tmpl b/templates/repo/empty.tmpl index 6da9e28e16d2b..0a354b4112cd3 100644 --- a/templates/repo/empty.tmpl +++ b/templates/repo/empty.tmpl @@ -50,14 +50,17 @@ git push -u origin {{.Repository.DefaultBranch}} git push -u origin {{.Repository.DefaultBranch}} - {{end}} {{else}}