Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.

Commit 478c310

Browse files
Parth ShahParth Shah
authored andcommitted
add validations
1 parent ec18543 commit 478c310

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ steps:
179179
action_id: fileContents
180180
filename: 'src/List.jsx'
181181
- type: gate
182-
left: '/^\s*students\s*:\s*\[\s*\]\s*,\s*/gm'
182+
left: '/\s*students\s*:\s*\[\s*\]\s*,\s*/gm'
183183
operator: test
184184
right: '%actions.fileContents%'
185185
else:
@@ -279,7 +279,7 @@ steps:
279279
action_id: fileContents
280280
filename: 'src/App.jsx'
281281
- type: gate
282-
left: '/^\s*placeholder\s*=\s*"Add\sStudent\.\.\."\s*\n\s*currList\s*=\s*{\s*this\.state\.students\s*}\n\s*addFunction\s*=\s*{\s*this\.addStudent\s*}\s*\n/gm'
282+
left: '/\s*placeholder\s*=\s*"Add\sStudent\.\.\."\s*\n\s*currList\s*=\s*{\s*this\.state\.students\s*}\n\s*addFunction\s*=\s*{\s*this\.addStudent\s*}\s*\n/gm'
283283
operator: test
284284
right: '%actions.fileContents%'
285285
else:

0 commit comments

Comments
 (0)