summary refs log tree commit diff
diff options
context:
space:
mode:
authorfranck cuny <franck.cuny@gmail.com>2019-02-18 13:14:37 -0800
committerfranck cuny <franck.cuny@gmail.com>2019-02-18 13:14:37 -0800
commitff7de3a3ed8fb3d9e37e93c02af80494a9cd3423 (patch)
tree79d7122397efc79c55e9ca167fc08f94bafd9e76
parentCache list of targets. (diff)
downloadpants.el-main.tar.gz
Fix name of a function. HEAD main
Was calling a non-existing function when trying to read from the
cache.
-rw-r--r--pants.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/pants.el b/pants.el
index 5ab681c..4ae26e2 100644
--- a/pants.el
+++ b/pants.el
@@ -224,7 +224,7 @@
     (let ((cache-targets (pants--get-path-cached-targets current-build-file)))
       (when (file-newer-than-file-p (format "%sBUILD" (pants--get-build-file-for-current-buffer)) cache-targets)
         (pants--populate-cache-targets cache-targets current-build-file))
-      (read-targets-from-cache cache-targets))))
+      (pants--read-targets-from-cache cache-targets current-build-file))))
 
 (defun pants--replace-build-buffer (buffer new-content)
   (with-current-buffer buffer