fix(lockdown): Log to stderr
MODIFY
packages/lockdown/pre.js
packages/lockdown/pre.js
@@ -48,16 +48,16 @@ export const lockdown = defaultOptions => {
let optionsString;
if (typeof LOCKDOWN_OPTIONS === 'string') {
optionsString = LOCKDOWN_OPTIONS;
- console.log(
- `'@agoric/install-ses' sniffed and found a 'LOCKDOWN_OPTIONS' global variable\n`,
+ console.warn(
+ `'@endo/lockdown' sniffed and found a 'LOCKDOWN_OPTIONS' global variable\n`,
);
} else if (
typeof process === 'object' &&
typeof process.env.LOCKDOWN_OPTIONS === 'string'
) {
optionsString = process.env.LOCKDOWN_OPTIONS;
- console.log(
- `'@agoric/install-ses' sniffed and found a 'LOCKDOWN_OPTIONS' environment variable\n`,
+ console.warn(
+ `'@endo/install-ses' sniffed and found a 'LOCKDOWN_OPTIONS' environment variable\n`,
);
}

fix(lockdown): Log to stderr