File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -786,7 +786,7 @@ function getSampleAppVersion() {
786786 try {
787787 yield exec . exec ( "bash" , [
788788 "-c" ,
789- "find ../robot_ws -name package.xml -not -path ../robot_ws/src/deps/* -exec grep -Po '(?<=<version>)[^\\s<>]*(?=</version>)' {} +"
789+ "find ../robot_ws -name package.xml -not -path ' ../robot_ws/src/deps/*' -exec grep -Po '(?<=<version>)[^\\s<>]*(?=</version>)' {} +"
790790 ] , getWorkingDirExecOptions ( grepAfter ) ) ;
791791 version = grepAfter . stdout . trim ( ) ;
792792 }
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ async function getSampleAppVersion() : Promise<string> {
6868 try {
6969 await exec . exec ( "bash" , [
7070 "-c" ,
71- "find ../robot_ws -name package.xml -not -path ../robot_ws/src/deps/* -exec grep -Po '(?<=<version>)[^\\s<>]*(?=</version>)' {} +" ] ,
71+ "find ../robot_ws -name package.xml -not -path ' ../robot_ws/src/deps/*' -exec grep -Po '(?<=<version>)[^\\s<>]*(?=</version>)' {} +" ] ,
7272 getWorkingDirExecOptions ( grepAfter ) ) ;
7373 version = grepAfter . stdout . trim ( ) ;
7474 } catch ( error ) {
@@ -187,4 +187,4 @@ async function run() {
187187 core . setOutput ( 'sample-app-version' , SAMPLE_APP_VERSION ) ;
188188}
189189
190- run ( ) ;
190+ run ( ) ;
You can’t perform that action at this time.
0 commit comments