mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-03 07:10:05 -05:00
Version 0.9.38
This commit is contained in:
parent
1f20d45b66
commit
11e7a5c760
@ -1665,7 +1665,7 @@ function getDirectoryInfo(reqpath) {
|
|||||||
var results = null, xpath = obj.path.join(reqpath, '*');
|
var results = null, xpath = obj.path.join(reqpath, '*');
|
||||||
//if (process.platform == "win32") { xpath = xpath.split('/').join('\\'); }
|
//if (process.platform == "win32") { xpath = xpath.split('/').join('\\'); }
|
||||||
try { results = fs.readdirSync(xpath); } catch (e) { }
|
try { results = fs.readdirSync(xpath); } catch (e) { }
|
||||||
if ((results != null) && (results.length == 0) && (fs.existsSync(reqpath) == false)) { results = null; }
|
try { if ((results != null) && (results.length == 0) && (fs.existsSync(reqpath) == false)) { results = null; } } catch (e) { }
|
||||||
if (results != null) {
|
if (results != null) {
|
||||||
for (var i = 0; i < results.length; ++i) {
|
for (var i = 0; i < results.length; ++i) {
|
||||||
if ((results[i] != '.') && (results[i] != '..')) {
|
if ((results[i] != '.') && (results[i] != '..')) {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "meshcentral",
|
"name": "meshcentral",
|
||||||
"version": "0.9.37",
|
"version": "0.9.38",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"Remote Device Management",
|
"Remote Device Management",
|
||||||
"Remote Device Monitoring",
|
"Remote Device Monitoring",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user