Skip to content

Commit

Permalink
extend support back to Node >= v12.20
Browse files Browse the repository at this point in the history
  • Loading branch information
75lb committed Aug 6, 2021
1 parent 539c986 commit f85da3f
Show file tree
Hide file tree
Showing 5 changed files with 114 additions and 91 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

strategy:
matrix:
node-version: [14.x, 15.x, 16.x]
node-version: [12, 14, 16]

steps:
- uses: actions/checkout@v2
Expand Down
3 changes: 2 additions & 1 deletion lib/cli-app.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ import open from 'open'
import tls from 'tls'
import path from 'path'
import ansi from 'ansi-escape-sequences'
import * as fs from 'fs/promises'
import * as fsMain from 'fs'
import getModulePaths from 'current-module-paths'
const __dirname = getModulePaths(import.meta.url).__dirname
const fs = fsMain.promises

class LwsCli {
constructor (options = {}) {
Expand Down
179 changes: 100 additions & 79 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f85da3f

Please sign in to comment.