File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 2
2
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5
- refs/heads/try: 2bfed908e39f162532be56d9680295bb383ddcf2
5
+ refs/heads/try: bdec806848ed7286ad56865b5f53b99dc0965810
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
Original file line number Diff line number Diff line change @@ -193,8 +193,12 @@ fn maybe_find_pandoc(
193
193
let possible_pandocs = alt maybe_pandoc_cmd {
194
194
some( pandoc_cmd) { [ pandoc_cmd] }
195
195
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
+ }
198
202
}
199
203
} ;
200
204
You can’t perform that action at this time.
0 commit comments