Compare commits
2 commits
6e59bf5ff6
...
a8fc333df3
Author | SHA1 | Date | |
---|---|---|---|
Julien Oculi | a8fc333df3 | ||
Julien Oculi | aad3e6944a |
|
@ -4,7 +4,7 @@ const getStaged = new Deno.Command('git', {
|
|||
|
||||
const { stdout } = await getStaged.output()
|
||||
const staged = new TextDecoder().decode(stdout).split(/\r?\n/).filter((path) =>
|
||||
path.startsWith('sketch/')
|
||||
path.startsWith('sketch/') && path.endsWith('.FCStd')
|
||||
)
|
||||
|
||||
for (const file of staged) {
|
||||
|
|
|
@ -24,7 +24,7 @@ const objectLabel: Constraint = {
|
|||
kind: 'object:label',
|
||||
format: '$label',
|
||||
fields: {
|
||||
label: [/.+/],
|
||||
label: [snakeCaseLabel],
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue