Try different ways

This commit is contained in:
khai96_ 2020-05-09 20:57:00 +07:00
parent 3b5e8836ec
commit 271a9df5fb
2 changed files with 5 additions and 1 deletions

BIN
dist/index.js vendored

Binary file not shown.

View File

@ -6,7 +6,11 @@ import pnpmInstall from './pnpm-install'
async function main() { async function main() {
const isPost = getState('isPost') const isPost = getState('isPost')
console.log({ isPost }) console.log({
is_post: getState('is_post'),
isPost: getState('isPost'),
STATE_isPost: process.env['STATE_isPost'],
})
if (isPost) { if (isPost) {
return return
} }