mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
check for incorrectly saved debug-proxy
This commit is contained in:
parent
2eab9c7957
commit
0bbfcdc149
@ -10,8 +10,8 @@ define(function(require, exports, module) {
|
||||
check();
|
||||
|
||||
function check() {
|
||||
fs.exists(extPath, function(exists) {
|
||||
if (!exists)
|
||||
fs.stat(extPath, function(err, stat) {
|
||||
if (err || stat.size < 100)
|
||||
return register(null, { launch: launch });
|
||||
launch(register);
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user