File tree Expand file tree Collapse file tree
packages/cli/snap-tests-global/command-staged-with-config Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121
2222> git add -A && git commit -m 'second'
2323> printf 'eval("code");\n' > src/fail.js && git add src/fail.js
24- [1]> vp staged # should fail when staged .js file has lint errors
25- [STARTED] Backing up original state...
24+ [1]> vp staged > /dev/null 2>&1 # should fail when staged .js file has lint errors
Original file line number Diff line number Diff line change 11{
2+ "ignoredPlatforms" : [" win32" ],
23 "commands" : [
34 { "command" : " git init" , "ignoreOutput" : true },
45 { "command" : " git add -A && git commit -m 'init'" , "ignoreOutput" : true },
1213 "command" : " printf 'eval(\" code\" );\\ n' > src/fail.js && git add src/fail.js" ,
1314 "ignoreOutput" : true
1415 },
15- " vp staged # should fail when staged .js file has lint errors"
16+ {
17+ "command" : " vp staged > /dev/null 2>&1 # should fail when staged .js file has lint errors" ,
18+ "ignoreOutput" : true
19+ }
1620 ]
1721}
You can’t perform that action at this time.
0 commit comments