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 1
1
---
2
- refs/heads/master: 2bfed908e39f162532be56d9680295bb383ddcf2
2
+ refs/heads/master: bdec806848ed7286ad56865b5f53b99dc0965810
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5
5
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
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