summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/km-snakemake.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/km-snakemake.el b/lisp/km-snakemake.el
index 4b9c1fb..64c7221 100644
--- a/lisp/km-snakemake.el
+++ b/lisp/km-snakemake.el
@@ -34,7 +34,7 @@
(let ((command (car compilation-arguments)))
(if (string-prefix-p snakemake-program command)
(setf (car compilation-arguments)
- (replace-regexp-in-string "--dryrun" "" command))
+ (replace-regexp-in-string " --dryrun" "" command))
(user-error "Last compile was not with %s" snakemake-program)))
(recompile)))