Skip to content

Commit

Permalink
Merge pull request #28 from fukaoi/hotfix/syntax_error_spec_jscode
Browse files Browse the repository at this point in the history
Fix
  • Loading branch information
fukaoi authored Mar 15, 2020
2 parents d818446 + 1178549 commit 613ae4d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ before_install:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt -qq update -y
- sudo apt -qq upgrade -y
- wget -O glibc.deb http://archive.ubuntu.com/ubuntu/pool/main/g/glibc/libc6_2.30-0ubuntu3_amd64.deb && sudo dpkg -B -i --force-conflicts glibc.deb
- wget -O glibc.deb http://archive.ubuntu.com/ubuntu/pool/main/g/glibc/libc6_2.30-0ubuntu2_amd64.deb && sudo dpkg -B -i --force-conflicts glibc.deb


script:
Expand Down
3 changes: 2 additions & 1 deletion ext/audit/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"plugin:security/recommended"
],
"parserOptions": {
"ecmaVersion": 2017
"ecmaVersion": 2017,
"allowReturnOutsideFunction": false
},

"env": {
Expand Down
2 changes: 1 addition & 1 deletion spec/nodejs_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ describe Nodejs do
mess = "error promise"
code = <<-SRC
const promise = new Promise((resolve, reject) =>{
reject(#{mess});
reject('#{mess}');
});
promise.then((value) => {
console.log(value);
Expand Down

0 comments on commit 613ae4d

Please sign in to comment.