Commit 6b57ccf
authored
* refactor: improve input handling, typing, and error safety in branch create action
- Add explicit TypeScript types for all inputs
- Trim all received inputs to avoid whitespace-related failures
- Strengthen error handling with unknown type guard
- Add JSDoc annotation for main function
- Replace direct run() call with void run() for explicit async invocation
- Maintain existing GitHub API request logic while improving reliability
* build: update compiled artifact in dist/index.js
- Regenerate dist output to reflect recent refactor and typing improvements
- Align compiled bundle with updated input validation and enhanced error handling
1 parent 52b82b5 commit 6b57ccf
2 files changed
+36
-34
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29963 | 29963 | | |
29964 | 29964 | | |
29965 | 29965 | | |
| 29966 | + | |
| 29967 | + | |
| 29968 | + | |
| 29969 | + | |
29966 | 29970 | | |
29967 | 29971 | | |
29968 | | - | |
29969 | | - | |
29970 | | - | |
29971 | | - | |
29972 | | - | |
29973 | | - | |
29974 | | - | |
| 29972 | + | |
| 29973 | + | |
| 29974 | + | |
| 29975 | + | |
| 29976 | + | |
29975 | 29977 | | |
29976 | | - | |
29977 | 29978 | | |
29978 | 29979 | | |
29979 | 29980 | | |
| |||
29982 | 29983 | | |
29983 | 29984 | | |
29984 | 29985 | | |
29985 | | - | |
29986 | 29986 | | |
29987 | 29987 | | |
29988 | 29988 | | |
29989 | 29989 | | |
29990 | 29990 | | |
29991 | 29991 | | |
29992 | 29992 | | |
29993 | | - | |
29994 | 29993 | | |
29995 | 29994 | | |
29996 | 29995 | | |
29997 | 29996 | | |
29998 | | - | |
29999 | | - | |
30000 | | - | |
| 29997 | + | |
| 29998 | + | |
| 29999 | + | |
| 30000 | + | |
| 30001 | + | |
| 30002 | + | |
30001 | 30003 | | |
30002 | 30004 | | |
30003 | | - | |
30004 | | - | |
| 30005 | + | |
30005 | 30006 | | |
30006 | 30007 | | |
30007 | 30008 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
5 | 9 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | | - | |
17 | 18 | | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
| 27 | + | |
25 | 28 | | |
26 | | - | |
27 | | - | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
37 | | - | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
45 | 47 | | |
46 | 48 | | |
47 | 49 | | |
48 | | - | |
49 | | - | |
| 50 | + | |
0 commit comments