File tree Expand file tree Collapse file tree
apps/codebility/app/applicant/waiting/_components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ function PostReadInstructions({
152152 if ( user ?. display_position . includes ( "UI/UX Designer" ) === false ) {
153153 // Validate the fork url
154154 const urlPattern =
155- / ^ ( h t t p s ? : \/ \/ ) ? ( w w w \. ) ? g i t h u b \. c o m \/ [ a - z A - Z 0 - 9 _ - ] + \/ c o d e b i l i t y - a s s e s s m e n t ( \/ .* ) ? $ / ;
155+ / ^ ( h t t p s ? : \/ \/ ) ? ( w w w \. ) ? g i t h u b \. c o m \/ [ a - z A - Z 0 - 9 _ - ] + \/ c o d e b i l i t y - a s s e s s m e n t ( \. g i t ) ? ( \ / .* ) ? $ / ;
156156
157157 if ( ! urlPattern . test ( data . fork_url ) ) {
158158 throw new Error (
@@ -285,7 +285,7 @@ function PostSubmitted({
285285 if ( user ?. display_position . includes ( "UI/UX Designer" ) === false ) {
286286 // Validate the fork url
287287 const urlPattern =
288- / ^ ( h t t p s ? : \/ \/ ) ? ( w w w \. ) ? g i t h u b \. c o m \/ [ a - z A - Z 0 - 9 _ - ] + \/ c o d e b i l i t y - a s s e s s m e n t ( \/ .* ) ? $ / ;
288+ / ^ ( h t t p s ? : \/ \/ ) ? ( w w w \. ) ? g i t h u b \. c o m \/ [ a - z A - Z 0 - 9 _ - ] + \/ c o d e b i l i t y - a s s e s s m e n t ( \. g i t ) ? ( \ / .* ) ? $ / ;
289289
290290 if ( ! urlPattern . test ( data . fork_url ) ) {
291291 throw new Error (
You can’t perform that action at this time.
0 commit comments