hexo/node_modules/ali-oss/lib/common/utils/checkEnv.ts

6 lines
99 B
TypeScript
Raw Normal View History

2023-10-03 11:14:36 +08:00
export function checkEnv(msg: string) {
if (process.browser) {
console.warn(msg);
}
}