Skip to content

Commit

Permalink
🔧 Fix exec toString issue
Browse files Browse the repository at this point in the history
  • Loading branch information
felixrieseberg committed Jul 23, 2018
1 parent d3f3c04 commit f58058a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/exec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export async function exec(dir: string, cliArgs: string): Promise<string> {
reject(error);
}

resolve(result.toString());
resolve(typeof result === 'string' ? result : `${result}`);
});
});
}
Expand Down

0 comments on commit f58058a

Please sign in to comment.