Skip to content

Commit f16f2b9

Browse files
Add git pre commit hook (#58)
* feat: add pre commit hook * test: pre commit hook * fix: pre commit hook
1 parent e06d734 commit f16f2b9

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

app/src/main/java/com/yogeshpaliyal/deepr/ui/components/EditDeeplinkDialog.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,9 @@ fun EditDeeplinkDialog(
4141
link = it
4242
isError = false
4343
},
44-
label = { Text("Deeplink")
45-
},
44+
label = {
45+
Text("Deeplink")
46+
},
4647
isError = isError,
4748
supportingText = {
4849
if (isError) {

scripts/pre-commit

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,6 @@ lintStatus=$?
1212
# return 1 exit code if running checks fails
1313
[ $lintStatus -ne 0 ] && exit 1
1414

15+
git add .
16+
1517
exit 0

0 commit comments

Comments
 (0)