This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 6db8249 Is JS missing safe navigation on GH?
6db8249 is described below
commit 6db8249552a7a2e62ebc668b74fcb748adea4055
Author: Sebb <[email protected]>
AuthorDate: Fri Mar 25 10:25:46 2022 +0000
Is JS missing safe navigation on GH?
---
.github/workflows/unittestagenda.yml | 5 ++---
.travis.yml | 2 ++
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/unittestagenda.yml
b/.github/workflows/unittestagenda.yml
index 7cc3256..4462dab 100644
--- a/.github/workflows/unittestagenda.yml
+++ b/.github/workflows/unittestagenda.yml
@@ -47,7 +47,6 @@ jobs:
- name: test agenda code
run: |
cd www/board/agenda
- which -a npm || true
- echo $PATH
- # npm install # fails under rake
+ # check if JS supports ?.
+ node -e 'e=null;e?.x'
bundle exec rake
diff --git a/.travis.yml b/.travis.yml
index e96dc2e..63d7823 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -45,6 +45,8 @@ before_script:
- ruby --version
- node --version
- which -a npm || true
+ # check if JS supports ?.
+ - node -e 'e=null;e?.x'
########################################################################
# Notification #