Skip to content

Commit

Permalink
execution: fixed console logging in executeInDirectory
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian E. Kwiatkowski committed Feb 7, 2021
1 parent 93d7d83 commit 56197c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cloud-commands",
"version": "0.7.0",
"version": "0.7.1",
"bin": {
"c-create-function": "src/bin/functions/c-create-function.js",
"c-delete-distribution": "src/bin/functions/c-delete-distribution.js",
Expand Down
2 changes: 1 addition & 1 deletion src/execution.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function executeCommand(command) {
}

export function executeInDirectory(command, cwd) {
console.log(`[${directory}] ${command}`)
console.log(`[${cwd}] ${command}`)

return exec(command, { cwd }).then(handleOutput)
}

0 comments on commit 56197c1

Please sign in to comment.