Commit 31d09a9 1 parent db23b65 commit 31d09a9 Copy full SHA for 31d09a9
File tree 2 files changed +7
-2
lines changed
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 13
13
name : Run linters
14
14
runs-on : ubuntu-latest
15
15
16
+ permissions :
17
+ contents : read
18
+ packages : read
19
+ # To report GitHub Actions status checks
20
+ statuses : write
21
+
16
22
steps :
17
23
- name : Check out Git repository
18
24
uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -65,8 +65,7 @@ const operators = generateMapping()
65
65
export default operators
66
66
67
67
export function getOperatorId ( operatorConfig ) {
68
- // return operatorConfig.filename.replace(/^(dyn_illust_)(char_[\d]+)(_[\w]+)(|(_.+))$/g, '$2$3$4')
69
- return operatorConfig . fallback_name . replace ( / ^ ( c h a r _ [ \d ] + ) ( _ [ \w ] + ) ( _ .+ ) $ / g, '$1$2$3' )
68
+ return operatorConfig . filename . replace ( / ^ ( d y n _ i l l u s t _ ) ( c h a r _ [ \d ] + ) ( _ [ \w ] + ) ( | ( _ .+ ) ) $ / g, '$2$3$4' )
70
69
}
71
70
72
71
export const build = async ( namesToBuild ) => {
You can’t perform that action at this time.
0 commit comments