Skip to content

Commit a232312

Browse files
committed
feat: download without saving file
1 parent 15e6e56 commit a232312

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@athenna/common",
3-
"version": "5.21.0",
3+
"version": "5.22.0",
44
"description": "The Athenna common helpers to use in any Node.js ESM project.",
55
"license": "MIT",
66
"author": "João Lenon <lenon@athenna.io>",

src/helpers/Exec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ export class Exec extends Macroable {
231231
response.on('data', chunk => data.push(chunk))
232232

233233
response.on('end', () => {
234-
if (options.path) {
234+
if (options?.path) {
235235
resolve(new File(options.path, data.read()).loadSync())
236236

237237
return

0 commit comments

Comments
 (0)