fix(menu) uploadTo: when error - do nothing, everything already done

This commit is contained in:
coderaiser 2017-10-19 12:09:31 +03:00
parent 11c6ccb025
commit 4662bd7312

View file

@ -236,6 +236,9 @@ function MenuProto(position) {
function uploadTo(nameModule) {
Info.getData((error, data) => {
if (error)
return;
const name = Info.name;
const execFrom = CloudCmd.execFromModule;