tools: Actually check ignored files

This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2023-03-01 07:44:31 +01:00
parent 75e13996f1
commit bd8a574e7a

View file

@ -12,7 +12,7 @@ const SECTION_START = "AUTOGENERATED COPYRIGHT HEADER START";
const SECTION_END = "AUTOGENERATED COPYRIGHT HEADER END";
async function git_isIgnored(path) {
await new Promise((resolve, reject) => {
return await new Promise((resolve, reject) => {
try {
let proc = CHILD_PROCESS.spawn("git", [
"check-ignore",