diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f61b4e3..497d54a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,7 +10,7 @@ jobs: test: # make sure the action works on a clean machine without building runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./ with: dep: list diff --git a/index.js b/index.js index ac1c903..ae4ad58 100644 --- a/index.js +++ b/index.js @@ -121,6 +121,8 @@ async function dep() { options.push('-o', `${key}=${value}`) } } + } catch (e) { + console.error('Invalid JSON in options') } try {