Skip to content

Commit

Permalink
Upgrade execa 8.0.1 -> 9.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed May 5, 2024
1 parent ad7e252 commit 3a0ee86
Show file tree
Hide file tree
Showing 4 changed files with 331 additions and 44 deletions.
9 changes: 1 addition & 8 deletions gulp/print.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
import { createWriteStream } from 'node:fs'

import { execa } from 'execa'
import { getBinPath } from 'get-bin-path'

const binPath = getBinPath()

export const print = async () => {
const writeStream = createWriteStream(LIST_PATH)
const childProcess = execa(await binPath, { stderr: 'inherit' })
childProcess.stdout.pipe(writeStream)
await childProcess
await execa(await binPath, { stdout: {file: 'characters.txt'}, stderr: 'inherit' })
}

const LIST_PATH = new URL('../characters.txt', import.meta.url)

print.description = 'Print the list of characters to a file for non-npm users'

0 comments on commit 3a0ee86

Please sign in to comment.