Properly export default-file-icons.js

This commit is contained in:
confused-Techie 2023-09-04 04:13:29 -07:00
parent 4160815e1c
commit 4e7f8ba7de

View File

@ -1,7 +1,6 @@
const fs = require('fs-plus');
const path = require('path');
module.exports =
class DefaultFileIcons {
iconClassForPath(filePath) {
const extension = path.extname(filePath);
@ -23,3 +22,5 @@ class DefaultFileIcons {
}
}
}
module.exports = new DefaultFileIcons();