Skip to content

Commit

Permalink
Update verifyCommit.js
Browse files Browse the repository at this point in the history
  • Loading branch information
CaedmonW committed Oct 31, 2022
1 parent 4cc9ed1 commit 8a3468a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/verifyCommit.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const msgPath = process.argv[2];
const msg = require("fs").readFileSync(msgPath, "utf-8").trim();

const commitRE =
/^(revert: )?(feat|fix|docs|dx|style|refactor|perf|test|workflow|build|ci|chore|types|wip|release)(\(.+\))?: .{1,50}/;
/^(revert: )?(feat|fix|docs|dx|style|refactor|perf|test|workflow|build|ci|chore|types|wip|release)(\(.+\))?: .{1,50}|^(Version)/;

if (!commitRE.test(msg)) {
console.log();
Expand Down

1 comment on commit 8a3468a

@vercel
Copy link

@vercel vercel bot commented on 8a3468a Oct 31, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

ossa-demo – ./

ossa-demo-ossa.vercel.app
ossaui.vercel.app
ossa-demo-git-main-ossa.vercel.app

Please sign in to comment.