aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranck Cuny <franckcuny@gmail.com>2016-06-30 17:18:23 -0700
committerFranck Cuny <franckcuny@gmail.com>2016-06-30 17:18:23 -0700
commit8f0fb77dd5d789c5e6370c2083df701729c4de24 (patch)
tree8141cd824b36d446718cf305075a7e0524ad8ef6
parentSimple front-end to the `pants' command. (diff)
downloadpants.el-8f0fb77dd5d789c5e6370c2083df701729c4de24.tar.gz
Silent warnings in pants.
When listing the options, pass the `-q' flag to pants to silent any warnings.
-rw-r--r--pants.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/pants.el b/pants.el
index 0c08ed5..97557b8 100644
--- a/pants.el
+++ b/pants.el
@@ -91,7 +91,7 @@
(defun pants--build-target-list (file action)
"Generates a list of existing targets"
- (let ((build-command (format "%s list %s:" (pants--build-command) file))
+ (let ((build-command (format "%s -q list %s:" (pants--build-command) file))
targets target)
(set (make-local-variable 'default-directory) (pants--get-source-tree))
(with-temp-buffer