summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorskullydazed <skullydazed@users.noreply.github.com>2019-08-25 11:58:24 -0700
committerFlorian Didron <fdidron@users.noreply.github.com>2019-09-05 16:15:42 +0900
commitec9f501cfbf39d3d5b5724a6fd2c2fcf3a3136b3 (patch)
treeed221a89142042d7b7c997059313b0dc6c181058 /bin
parentc1ba3aef5707b9cf7af1f5fb82f099837516ad82 (diff)
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 dfd31e2006..d4b584b10e 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()