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