Skip to content
This repository has been archived by the owner on Sep 15, 2022. It is now read-only.

Latest commit

 

History

History
10 lines (8 loc) · 142 Bytes

env.md

File metadata and controls

10 lines (8 loc) · 142 Bytes

获取云函数执行的env

const tcb = require('tcb-admin-node')

/**
 * @returns string
 */
const env = tcb.getCurrentEnv()