diff --git a/misc/git-hooks/clang-format-hook.js b/misc/git-hooks/clang-format-hook.js index 1a723c7752..b5a018d4b7 100644 --- a/misc/git-hooks/clang-format-hook.js +++ b/misc/git-hooks/clang-format-hook.js @@ -50,7 +50,8 @@ const formatFiles = (files) => { const filesToFormat = changedFiles .split("\n") - .filter((file) => file.trim() !== ""); + .filter((file) => file.trim() !== "") + .filter((file) => fs.existsSync(file)); // Do not try validate deleted files formatFiles(filesToFormat); filesToFormat.forEach((file) => execSync(`git add ${file}`)); diff --git a/skymp5-server/cpp/PapyrusQuest.cpp b/skymp5-server/cpp/PapyrusQuest.cpp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/skymp5-server/cpp/PapyrusQuest.h b/skymp5-server/cpp/PapyrusQuest.h deleted file mode 100644 index 6f70f09bee..0000000000 --- a/skymp5-server/cpp/PapyrusQuest.h +++ /dev/null @@ -1 +0,0 @@ -#pragma once