mirror of
https://github.com/danbulant/console-hub
synced 2026-05-19 04:18:45 +00:00
Fix imports and names
This commit is contained in:
parent
bb98af5d38
commit
1d51db1ec7
2 changed files with 3 additions and 1 deletions
2
files.js
2
files.js
|
|
@ -9,7 +9,7 @@ module.exports = {
|
|||
let dirPath = path.join(dir, f);
|
||||
let isDirectory = fs.statSync(dirPath).isDirectory();
|
||||
isDirectory ?
|
||||
walkDir(dirPath, callback) : callback(path.join(dir, f));
|
||||
this.walkDir(dirPath, callback) : callback(path.join(dir, f));
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
2
main.js
2
main.js
|
|
@ -1,4 +1,6 @@
|
|||
const { dialog, Menu, app, BrowserWindow } = require('electron');
|
||||
var fs = require('fs');
|
||||
var path = require('path');
|
||||
var files = require('./files');
|
||||
var wifi = require('node-wifi');
|
||||
let win;
|
||||
|
|
|
|||
Loading…
Reference in a new issue