From 2c3a68b4b7f9ec5687b1738897918514a866b407 Mon Sep 17 00:00:00 2001 From: nelsonic Date: Tue, 23 Jan 2024 15:09:48 +0000 Subject: [PATCH] attemp to debug process.env.TMPDIR #85 --- .github/workflows/ci.yml | 4 ++-- test/000_debug.test.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ee93981..d0a4144 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,8 +24,8 @@ jobs: run: | mkdir /home/runner/work/aws-lambda-deploy/aws-lambda-deploy/tmp chmod 777 /home/runner/work/aws-lambda-deploy/aws-lambda-deploy/tmp - echo "export HELLO=world" >> /home/runner/work/aws-lambda-deploy/aws-lambda-deploy/.env - cat /home/runner/work/aws-lambda-deploy/aws-lambda-deploy/.env + # echo "export HELLO=world" >> /home/runner/work/aws-lambda-deploy/aws-lambda-deploy/.env + # cat /home/runner/work/aws-lambda-deploy/aws-lambda-deploy/.env echo "$TMPDIR" > /home/runner/work/aws-lambda-deploy/aws-lambda-deploy/.env cat /home/runner/work/aws-lambda-deploy/aws-lambda-deploy/.env env: diff --git a/test/000_debug.test.js b/test/000_debug.test.js index 5d8270b..eceb545 100644 --- a/test/000_debug.test.js +++ b/test/000_debug.test.js @@ -16,8 +16,8 @@ // console.log('utils.getBasepath()', utils.getBasepath()); // console.log(' - - - - - - - - - - - - - - - - - - - - - - '); // -// console.log('process.env.TMPDIR:', process.env.TMPDIR, '(BEFORE)'); -// console.log(' - - - - - - - - - - - - - - - - - - - - - - '); +console.log('process.env.TMPDIR:', process.env.TMPDIR, '(BEFORE)'); +console.log(' - - - - - - - - - - - - - - - - - - - - - - '); // process.env.TMPDIR = process.env.TMPDIR || path.resolve(process.cwd(), '../') + '/'; // console.log('process.env.TMPDIR:', process.env.TMPDIR, '(SET)'); // console.log(' - - - - - - - - - - - - - - - - - - - - - - ');