Compare commits

...

2 commits

2 changed files with 2 additions and 2 deletions

View file

@ -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) {

View file

@ -24,7 +24,7 @@ const objectLabel: Constraint = {
kind: 'object:label',
format: '$label',
fields: {
label: [/.+/],
label: [snakeCaseLabel],
},
}