Merge pull request #4250 from lohxt1/browse_files_fn_fix

fix incorrect vars in browse_files function
This commit is contained in:
lohit
2025-03-17 16:58:22 +05:30
committed by GitHub

View File

@@ -131,7 +131,7 @@ const browseFiles = async (win, filters = [], properties = []) => {
return [];
}
return filePaths.map((path) => path.resolve(path)).filter((path) => isFile(path));
return filePaths.map((filePath) => path.resolve(filePath)).filter((filePath) => isFile(filePath));
};
const chooseFileToSave = async (win, preferredFileName = '') => {