Skip to content

Commit e690f1c

Browse files
committed
cleaning
1 parent ee2d6a4 commit e690f1c

6 files changed

Lines changed: 20 additions & 7 deletions

File tree

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,7 @@ node_modules
2828
.idea
2929

3030
# ESLint
31-
.eslintcache
31+
.eslintcache
32+
33+
# Husky
34+
.commit

.husky/pre-commit

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
yarn lint-staged
2-
yarn build
1+
#!/bin/sh
2+
3+
yarn lint-staged

.husky/pre-push

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/sh
2+
3+
yarn build
4+
5+
if [git diff --quiet -- scripts/processout.js] && [git diff --quiet -- scripts/modal.js]; then
6+
exit 0
7+
else
8+
echo "Changes detected in scripts. Please add them to the commit."
9+
fi
10+

scripts/modal.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/processout.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/processout/processout.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ interface apiRequestOptions {
1717
*/
1818
module ProcessOut {
1919
export const DEBUG = false;
20-
export const TestModePrefix = "test-";
21-
20+
export const TestModePrefix = "tssest-";
2221
/**
2322
* ProcessOut main class
2423
*/

0 commit comments

Comments
 (0)