Skip to content

Commit

Permalink
Merge pull request #340 from Cryptorubic/develop
Browse files Browse the repository at this point in the history
1inch polygon and trade form updates
  • Loading branch information
siandreev authored May 28, 2021
2 parents b9219ef + dc9924b commit afd4e28
Show file tree
Hide file tree
Showing 158 changed files with 35,171 additions and 2,554 deletions.
30 changes: 30 additions & 0 deletions .husky/_/husky.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#!/bin/sh
if [ -z "$husky_skip_init" ]; then
debug () {
[ "$HUSKY_DEBUG" = "1" ] && echo "husky (debug) - $1"
}

readonly hook_name="$(basename "$0")"
debug "starting $hook_name..."

if [ "$HUSKY" = "0" ]; then
debug "HUSKY env variable is set to 0, skipping hook"
exit 0
fi

if [ -f ~/.huskyrc ]; then
debug "sourcing ~/.huskyrc"
. ~/.huskyrc
fi

export readonly husky_skip_init=1
sh -e "$0" "$@"
exitCode="$?"

if [ $exitCode != 0 ]; then
echo "husky - $hook_name hook exited with code $exitCode (error)"
exit $exitCode
fi

exit 0
fi
8 changes: 8 additions & 0 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,14 @@
"maximumWarning": "6kb"
}
]
},
"dev2": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.dev2.ts"
}
]
}
}
},
Expand Down
Loading

0 comments on commit afd4e28

Please sign in to comment.