aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorGravatar skullydazed <skullydazed@users.noreply.github.com>2019-08-25 11:58:24 -0700
committerGravatar GitHub <noreply@github.com>2019-08-25 11:58:24 -0700
commitf22c5c17b6fe069bec1241262a1c27eb89d3d3af (patch)
treee584607eec6685d7a564ac8e15ffa7bc217dc90e /bin
parentc289a4cb2044c618257ec1e426ccf9c6db8fbf66 (diff)
downloadqmk_firmware-f22c5c17b6fe069bec1241262a1c27eb89d3d3af.tar.gz
Refactor `qmk compile-json` to `qmk compile` (#6592)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/qmk2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/qmk b/bin/qmk
index dfd31e200..d4b584b10 100755
--- a/bin/qmk
+++ b/bin/qmk
@@ -38,7 +38,7 @@ with open('requirements.txt', 'r') as fd:
# Figure out our version
command = ['git', 'describe', '--abbrev=6', '--dirty', '--always', '--tags']
-result = subprocess.run(command, universal_newlines=True, capture_output=True)
+result = subprocess.run(command, universal_newlines=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
if result.returncode == 0:
os.environ['QMK_VERSION'] = 'QMK ' + result.stdout.strip()