Skip to content

Commit 2ba8ce0

Browse files
author
Benjamin E. Coe
authored
chore!: drop Node 6 support (#1461)
1 parent cb64329 commit 2ba8ce0

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
language: node_js
22

33
node_js:
4-
- "6"
54
- "8"
65
- "10"
7-
# - "11" TODO: add 11 in April when 12 goes live.
8-
- "node"
6+
- "12"
7+
- "13"
98

109
os:
1110
- linux

yargs.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
'use strict'
22

3+
// an async function fails early in Node.js versions prior to 8.
4+
async function requiresNode8OrGreater () {}
5+
requiresNode8OrGreater()
6+
37
const argsert = require('./lib/argsert')
48
const fs = require('fs')
59
const Command = require('./lib/command')

0 commit comments

Comments
 (0)