Skip to content

Commit

Permalink
fix: fix ts error
Browse files Browse the repository at this point in the history
  • Loading branch information
kagawagao committed Feb 8, 2022
1 parent f2668f4 commit cac0871
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ const diffRun = async (options: DiffRunOptions = {}) => {
commands.map((command) => {
return {
title: command,
task: async (_, task) => {
task: async () => {
await promisify(exec)(command)
},
}
Expand Down

0 comments on commit cac0871

Please sign in to comment.