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