Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into update
Browse files Browse the repository at this point in the history
  • Loading branch information
buuhuu committed Aug 29, 2024
2 parents ced8cee + 56c0808 commit 974756b
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 10 deletions.
7 changes: 3 additions & 4 deletions .husky/pre-commit.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@ import { exec } from "node:child_process";

const run = (cmd) => new Promise((resolve, reject) => exec(
cmd,
(error, stdout, stderr) => {
if (error) reject();
if (stderr) reject(stderr);
resolve(stdout);
(error, stdout) => {
if (error) reject(error);
else resolve(stdout);
}
));

Expand Down
20 changes: 15 additions & 5 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"eslint-plugin-json": "3.1.0",
"eslint-plugin-xwalk": "github:adobe-rnd/eslint-plugin-xwalk#v0.1.0",
"husky": "9.1.1",
"merge-json-cli": "1.0.3",
"merge-json-cli": "1.0.4",
"npm-run-all": "4.1.5",
"stylelint": "16.8.2",
"stylelint-config-standard": "36.0.1"
Expand Down

0 comments on commit 974756b

Please sign in to comment.