From e9c1abc0c04763a716852ee51cdf9158e8ad05a2 Mon Sep 17 00:00:00 2001 From: Naveenraj M Date: Mon, 30 Mar 2020 03:51:35 +0530 Subject: [PATCH] using args --- lib/main.js | 2 +- src/main.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/main.js b/lib/main.js index 1e10fdf..3a28fca 100644 --- a/lib/main.js +++ b/lib/main.js @@ -65,7 +65,7 @@ function run() { } }; options.cwd = '/github/home/rpmbuild/SRPMS/'; - yield exec.exec('ls', options); + yield exec.exec('ls', ['-C'], options); core.setOutput("source_rpm_path", `/github/home/rpmbuild/SRPMS/${myOutput}`); // make option to upload source rpm } catch (error) { diff --git a/src/main.ts b/src/main.ts index 8bc1c1c..55f8fbc 100644 --- a/src/main.ts +++ b/src/main.ts @@ -74,7 +74,7 @@ async function run() { }; options.cwd = '/github/home/rpmbuild/SRPMS/'; - await exec.exec('ls', options); + await exec.exec('ls', [ '-C' ], options); core.setOutput("source_rpm_path", `/github/home/rpmbuild/SRPMS/${myOutput}`); // make option to upload source rpm