FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
uniswap_interface_sc/.husky/pre-commit at main · stringcode86/uniswap_interface_sc · GitHub
stringcode86
/
uniswap_interface_sc
Public
forked from
Uniswap/interface
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
uniswap_interface_sc
/
.husky
/
pre-commit
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
19 lines (15 loc) · 526 Bytes
Breadcrumbs
uniswap_interface_sc
/
.husky
/
pre-commit
Copy path
File metadata and controls
executable file
·
19 lines (15 loc) · 526 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!
/usr/bin/env sh
.
"
$(
dirname --
"
$0
"
)
/_/husky.sh
"
yarn g:run-fast-checks
if
command
-v git-secrets
&
>
/dev/null
then
#
only run if git-secrets is installed
#
Initialise git-secrets configuration
git-secrets --register-aws
>
/dev/null
echo
"
Running git-secrets...
"
#
Scans all files that are about to be committed.
git-secrets --pre_commit_hook --
"
$@
"
fi
if
command
-v trufflehog
&
>
/dev/null
then
#
only run if trufflehog is installed
trufflehog git file://. --since-commit HEAD --only-verified --fail
fi
Back
|
FazBrowse Home
|
New Git URL