Skip to content

Commit

Permalink
fix: re-style create quick test page
Browse files Browse the repository at this point in the history
  • Loading branch information
darwishub committed Jan 1, 2025
1 parent d1b11d7 commit 0dfd413
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/modules/FileSystemUtility.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ const uuidv4 = require("uuid");
const configDir = (app || remote.app).getPath("userData");

const persistenceUtility = require("./PersistenceUtility");
const captureUtility = require("./CaptureUtility");
const { STATUSES, FILE_TYPES } = require("./constants");

module.exports.exportItems = async (ids) => {
Expand Down Expand Up @@ -306,7 +305,7 @@ module.exports.exportSession = async (params) => {

const deleteFolder = function (folderPath) {
if (fs.existsSync(folderPath) && fs.lstatSync(folderPath).isDirectory()) {
fs.readdirSync(folderPath).forEach((file, index) => {
fs.readdirSync(folderPath).forEach((file) => {
const curPath = path.join(folderPath, file);
if (fs.lstatSync(curPath).isDirectory()) {
deleteFolder(curPath);
Expand Down

0 comments on commit 0dfd413

Please sign in to comment.