Skip to content

Commit

Permalink
Build
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrisbin committed Feb 10, 2024
1 parent d5e820f commit 5c52f7d
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,20 @@ class ExecStack {
.concat(resolverArgs)
.concat(args);
}
async exec(args) {
return await exec.exec("stack", this.stackArguments.concat(args));
async exec(args, options) {
return await exec.exec("stack", this.stackArguments.concat(args), options);
}
async read(_args) {
return "TODO";
async read(args) {
let stdout = "";
const options = {
listeners: {
stdout: (data) => {
stdout += data.toString();
},
},
};
await this.exec(args, options);
return stdout;
}
async parse(args, f) {
const stdout = await this.read(args);
Expand Down

0 comments on commit 5c52f7d

Please sign in to comment.