Fix bogus reference in SignedMaps when globals.environment is not set
This commit is contained in:
parent
1c69eb1ae4
commit
f7cef9dcd8
@ -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
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user