Skip to content

Commit

Permalink
fix: Add missing parent init call for push-data and set-value, it is …
Browse files Browse the repository at this point in the history
…causing unexpected error. (#386)

fixes #384
  • Loading branch information
drobnikj committed Aug 31, 2023
1 parent f8898d5 commit 173493b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/commands/actor/push-data.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ const { getApifyStorageClient, getDefaultStorageId, APIFY_STORAGE_TYPES } = requ

class PushDataCommand extends ApifyCommand {
async init() {
await super.init();
// Read data from stdin of the command
this.stdin = await this.readStdin(process.stdin);
}
Expand Down
1 change: 1 addition & 0 deletions src/commands/actor/set-value.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ const { getApifyStorageClient, getDefaultStorageId, APIFY_STORAGE_TYPES } = requ

class SetValueCommand extends ApifyCommand {
async init() {
await super.init();
// Read data from stdin of the command
this.stdin = process.stdin;
}
Expand Down

0 comments on commit 173493b

Please sign in to comment.