Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
agoldis committed Dec 16, 2024
1 parent 1c22c4a commit 55f677a
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 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.
6 changes: 4 additions & 2 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/post.js

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

2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ async function run(): Promise<void> {

await exec.exec('npm install -g @currents/cmd')

const useAPI = inputs.useAPI || inputs.or8n;
const useAPI = inputs.useAPI || inputs.or8n
core.saveState('or8n', useAPI)
if (useAPI) {
await or8n(inputs)
Expand Down
3 changes: 2 additions & 1 deletion src/post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ interface PostState {

function getPostState(): PostState {
return {
or8n: core.getState('or8n') === 'true' || core.getState('useAPI') === 'true',
or8n:
core.getState('or8n') === 'true' || core.getState('useAPI') === 'true',
key: core.getState('key') ?? process.env.CURRENTS_RECORD_KEY,
debug: core.getState('debug') === 'true',
id: core.getState('id'),
Expand Down

0 comments on commit 55f677a

Please sign in to comment.