Skip to content

Commit

Permalink
Stop supporting Node.js 7 or earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
abicky committed Jun 16, 2019
1 parent 1699352 commit 051e458
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
12 changes: 0 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
language: node_js
node_js:
- 6
- 8
- 10
- 12
Expand All @@ -13,17 +12,6 @@ env:
- EVM_EMACS=emacs-26.1-travis
- EVM_EMACS=emacs-26.2-travis

matrix:
exclude:
- node_js: 6
env: EVM_EMACS=emacs-25.1-travis
- node_js: 6
env: EVM_EMACS=emacs-25.2-travis
- node_js: 6
env: EVM_EMACS=emacs-25.3-travis
- node_js: 6
env: EVM_EMACS=emacs-26.1-travis

before_install:
- curl -fsSkL https://gist.github.com/rejeep/ebcd57c3af83b049833b/raw > x.sh && source ./x.sh
- evm install $EVM_EMACS --use --skip
Expand Down
4 changes: 2 additions & 2 deletions nodejs-repl.el
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,8 @@ when receive the output string"

(defun nodejs-repl--get-completions-from-process (token)
"Get completions sending TAB to Node.js process."
(let ((ret (if (version< nodejs-repl-nodejs-version "7.0.0")
(nodejs-repl--send-string (concat token "\t"))
(let ((ret (progn
;; Send TAB twice cf. https://github.com/nodejs/node/pull/7754
(nodejs-repl--send-string (concat token "\t"))
(nodejs-repl--send-string "\t")))
completions)
Expand Down

0 comments on commit 051e458

Please sign in to comment.