mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-07-07 06:08:06 +02:00
fix invalid method call
This commit is contained in:
+1
-1
@@ -372,7 +372,7 @@ module.exports.isFilePathValid = async (options) => {
|
|||||||
);
|
);
|
||||||
|
|
||||||
if (ofs.existsSync(originalFilePath)) {
|
if (ofs.existsSync(originalFilePath)) {
|
||||||
if (fs.lstatSync(originalFilePath).isDirectory()) {
|
if (ofs.lstatSync(originalFilePath).isDirectory()) {
|
||||||
throw "is_folder";
|
throw "is_folder";
|
||||||
}
|
}
|
||||||
if (!module.exports.isFileSupported(repoConfig, originalFilePath)) {
|
if (!module.exports.isFileSupported(repoConfig, originalFilePath)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user