Skip to content

Commit 09588b8

Browse files
Update all dependencies (#189)
Co-authored-by: Renovate Bot <[email protected]>
1 parent e8c4554 commit 09588b8

File tree

5 files changed

+3761
-138
lines changed

5 files changed

+3761
-138
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
- 12.x
1212
- 14.x
1313
steps:
14-
- uses: actions/checkout@v1
14+
- uses: actions/checkout@v3
1515
- name: Set up Node ${{ matrix.node-version }}
16-
uses: actions/setup-node@v1
16+
uses: actions/setup-node@v3
1717
with:
1818
node-version: ${{ matrix.node-version }}
1919
- name: Install dependencies

.github/workflows/documentation-notify.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
build:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v3
1313
- name: Notify Netlify
1414
env:
1515
NETLIFY_WEBHOOK_URL: ${{ secrets.NETLIFY_WEBHOOK_URL }}

lib/options.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* global Opal */
2-
const yargs = require('yargs')
2+
const Yargs = require('yargs/yargs')
33
const asciidoctor = require('@asciidoctor/core')()
44

55
const convertOptions = (args, attrs) => {
@@ -81,6 +81,8 @@ const convertOptions = (args, attrs) => {
8181
if (typeof outFile !== 'undefined') {
8282
if (outFile === '') {
8383
options.to_file = '-'
84+
} else if (outFile === '\'\'') {
85+
options.to_file = '-'
8486
} else {
8587
options.to_file = outFile
8688
options.mkdirs = true
@@ -118,6 +120,7 @@ class Options {
118120
} else {
119121
this.attributes = []
120122
}
123+
const yargs = Yargs()
121124
this.cmd = yargs
122125
.option('backend', {
123126
alias: 'b',

0 commit comments

Comments
 (0)