You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by e2...@apache.org on 2022/10/19 15:03:14 UTC

[incubator-devlake] branch main updated: fix(config-ui): code repeat (#3482)

This is an automated email from the ASF dual-hosted git repository.

e2corporation pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


The following commit(s) were added to refs/heads/main by this push:
     new 76bf2e55 fix(config-ui): code repeat (#3482)
76bf2e55 is described below

commit 76bf2e553c2574670b08f6c60443c01f516ebf79
Author: 青湛 <0x...@gmail.com>
AuthorDate: Wed Oct 19 23:02:59 2022 +0800

    fix(config-ui): code repeat (#3482)
    
    Co-authored-by: mintsweet <ju...@merico.dev>
---
 config-ui/src/hooks/useBlueprintValidation.jsx | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/config-ui/src/hooks/useBlueprintValidation.jsx b/config-ui/src/hooks/useBlueprintValidation.jsx
index a409e7d1..13dd1faf 100644
--- a/config-ui/src/hooks/useBlueprintValidation.jsx
+++ b/config-ui/src/hooks/useBlueprintValidation.jsx
@@ -180,14 +180,6 @@ function useBlueprintValidation({
               'Projects: Only Git Repository Names are supported (username/repo).'
             )
           }
-          if (
-            activeProvider?.id === Providers.GITHUB &&
-            !validateRepositoryName(projects[activeConnection?.id])
-          ) {
-            errs.push(
-              'Projects: Only Git Repository Names are supported (username/repo).'
-            )
-          }
           if (
             activeProvider?.id === Providers.GITHUB &&
             !validateUniqueObjectSet(projects[activeConnection?.id])