Skip to content

Commit

Permalink
fixing encoder download url env
Browse files Browse the repository at this point in the history
  • Loading branch information
MuriloChianfa committed Sep 3, 2024
1 parent 37b7870 commit 5393ace
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion badges/coverage.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion 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.

4 changes: 2 additions & 2 deletions src/evaluation.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@ module.exports = async function encoder() {
}

const download = async (uri, filename) => {
let download = uri ?? IONCUBE_EVAL_URL
cp.execSync(`wget ${download} -O ${filename}`)
const downloadUrl = uri ?? IONCUBE_EVAL_URL
cp.execSync(`wget ${downloadUrl} -O ${filename}`)
}

0 comments on commit 5393ace

Please sign in to comment.