Your IP : 3.144.23.138


Current Path : /opt/alt/alt-nodejs18/root/lib/node_modules/npm/node_modules.bundled/is-lambda/
Upload File :
Current File : //opt/alt/alt-nodejs18/root/lib/node_modules/npm/node_modules.bundled/is-lambda/test.js

'use strict'

var assert = require('assert')
var clearRequire = require('clear-require')

process.env.AWS_EXECUTION_ENV = 'AWS_Lambda_nodejs6.10'
process.env.LAMBDA_TASK_ROOT = '/var/task'

var isCI = require('./')
assert(isCI)

delete process.env.AWS_EXECUTION_ENV

clearRequire('./')
isCI = require('./')
assert(!isCI)

?>