Skip to content

Commit

Permalink
[VIDEO-2688] - Fixes for errors found debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
lyramcmillan committed Mar 13, 2024
1 parent e9f5b60 commit 32251bc
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
9 changes: 5 additions & 4 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

9 changes: 5 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,11 @@ async function run() {
await io.rmRF(sourceDir);
gstreamerPath = installDir;
} else {
let installDir = '';
if (buildRun) {
const installDir = process.env.GSTREAMER_INSTALL_DIR ?? path.join(rootDriveLetter, `gstreamer\\${buildRun}`)
installDir = process.env.GSTREAMER_INSTALL_DIR ?? path.join(rootDriveLetter, `gstreamer\\${buildRun}`)
} else {
const installDir =
installDir =
process.env.GSTREAMER_INSTALL_DIR ?? path.join(rootDriveLetter, 'gstreamer');
}

Expand Down Expand Up @@ -386,8 +387,8 @@ async function cleanup() {
}


if (!!core.getState('isPost')) {
core.saveState('isPost', 'true')
if (!core.getState('isPost')) {
core.saveState('isPost', 'true');
run();
} else {
if (process.platform === 'win32') {
Expand Down

0 comments on commit 32251bc

Please sign in to comment.