fix(config): 🐛 fcinfo script overwrite wrong files
This commit is contained in:
parent
6e59bf5ff6
commit
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) {
|
||||
|
|
Loading…
Reference in a new issue