Skip to content

Commit b981b55

Browse files
committed
---
yaml --- r: 14701 b: refs/heads/try c: bdec806 h: refs/heads/master i: 14699: 52c5d3c v: v3
1 parent a73498a commit b981b55

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5-
refs/heads/try: 2bfed908e39f162532be56d9680295bb383ddcf2
5+
refs/heads/try: bdec806848ed7286ad56865b5f53b99dc0965810
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/try/src/rustdoc/config.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,12 @@ fn maybe_find_pandoc(
193193
let possible_pandocs = alt maybe_pandoc_cmd {
194194
some(pandoc_cmd) { [pandoc_cmd] }
195195
none {
196-
// FIXME (1936): Need to be able to expand ~ to look in .cabal
197-
["pandoc"]
196+
["pandoc"] + alt os::homedir() {
197+
some(dir) {
198+
[path::connect(dir, ".cabal/bin/pandoc")]
199+
}
200+
none { [] }
201+
}
198202
}
199203
};
200204

0 commit comments

Comments
 (0)