Skip to content

Commit

Permalink
chore: remove linting from husky
Browse files Browse the repository at this point in the history
  • Loading branch information
EndBug committed Aug 8, 2024
1 parent 4dddfe3 commit 52f20d7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
1 change: 0 additions & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
npm run build
npm run lint
git add lib
2 changes: 1 addition & 1 deletion lib/index.js

Large diffs are not rendered by default.

10 changes: 8 additions & 2 deletions src/action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,15 @@ async function run() {

if (branch) core.info('Force-pushing updated branch to repo...');
else core.info('Pushing updated tag to repo...');
return await exec(`${git.command} push --force origin ${git.ref}`);
await exec(`${git.command} push --force origin ${git.ref}`);
} catch (error) {
core.setFailed(error instanceof Error ? error.message : error);
core.setFailed(
error instanceof Error
? error.message
: typeof error === 'string'
? error
: JSON.stringify(error)
);
}
}

Expand Down

0 comments on commit 52f20d7

Please sign in to comment.