Fix bogus reference in SignedMaps when globals.environment is not set

This commit is contained in:
Sandro Santilli 2014-02-13 10:57:41 +01:00
parent 1c69eb1ae4
commit f7cef9dcd8

View File

@ -2,7 +2,7 @@ var crypto = require('crypto');
var Step = require('step');
var _ = require('underscore');
var debug = global.environment.debug;
var debug = global.environment ? global.environment.debug : undefined;
// Class handling map signatures and user certificates
//