From 56197c1f207ff2568c5253867eee093dd30ac729 Mon Sep 17 00:00:00 2001 From: "Sebastian E. Kwiatkowski" Date: Sun, 7 Feb 2021 19:21:57 +0100 Subject: [PATCH] execution: fixed console logging in executeInDirectory --- package.json | 2 +- src/execution.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 3154c52..bf901a4 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/execution.js b/src/execution.js index 2049b74..b17c9f0 100644 --- a/src/execution.js +++ b/src/execution.js @@ -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) }