check for incorrectly saved debug-proxy

This commit is contained in:
nightwing 2018-02-07 14:14:27 +04:00
parent 2eab9c7957
commit 0bbfcdc149

View File

@ -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);
});