From ecbe86500425ec45f1e20b2bae6326230baac212 Mon Sep 17 00:00:00 2001 From: "Alexander.Trofimov" Date: Thu, 10 Nov 2016 13:53:52 +0300 Subject: [PATCH] check verify --- Common/sources/license.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Common/sources/license.js b/Common/sources/license.js index 5963bee9..2e60bc18 100644 --- a/Common/sources/license.js +++ b/Common/sources/license.js @@ -76,6 +76,8 @@ exports.readLicense = function*() { res.light = (true === oLicense['light'] || 'true' === oLicense['light']); // Someone who likes to put json string instead of bool res.branding = (true === oLicense['branding'] || 'true' === oLicense['branding']); // Someone who likes to put json string instead of bool + } else { + throw 'verify'; } } catch (e) { res.count = 1;