update key name

Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
This commit is contained in:
Alexandre Bodin 2020-07-03 11:52:26 +02:00
parent 76544f5d0b
commit 2ff0bfe75e

View File

@ -53,7 +53,7 @@ module.exports = ({ dir, logger = noLog }) => {
const licenseInfo = JSON.parse(content);
if (licenseInfo.expire_at < new Date().getTime()) {
if (licenseInfo.expireAt < new Date().getTime()) {
return warnAndReturn('License expired');
}
} catch (err) {