Skip to content

Commit

Permalink
Merge pull request #218 from commercialhaskell/217-make-absolute
Browse files Browse the repository at this point in the history
Switch to makeAbsolute (fixes #217)
  • Loading branch information
snoyberg authored Apr 28, 2020
2 parents e878b3d + a2c4811 commit 6539e15
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .azure/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@ jobs:
- template: azure-linux-template.yml
parameters:
name: Linux
vmImage: ubuntu-16.04
vmImage: ubuntu-latest
os: linux

- template: azure-osx-template.yml
parameters:
name: macOS
vmImage: macOS-10.13
vmImage: macOS-latest
os: osx

- template: azure-windows-template.yml
parameters:
name: Windows
vmImage: vs2017-win2016
vmImage: windows-latest
os: windows
4 changes: 4 additions & 0 deletions rio/ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog for rio

## 0.1.15.1

* Replace `canonicalizePath` with `makeAbsolute` [#217](https://github.com/commercialhaskell/rio/issues/217)

## 0.1.15.0

* Include source in log messages
Expand Down
2 changes: 1 addition & 1 deletion rio/package.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: rio
version: 0.1.15.0
version: 0.1.15.1
synopsis: A standard library for Haskell
description: See README and Haddocks at <https://www.stackage.org/package/rio>
license: MIT
Expand Down
4 changes: 2 additions & 2 deletions rio/rio.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ cabal-version: 1.12
--
-- see: https://github.com/sol/hpack
--
-- hash: 88c70b06dfc2b555bc230e489348124cfcbdc0bdbf0ef59810cae48053937a10
-- hash: 30ccd150c619c6c6fa96ebc7d3b33d6cb4ea1b2e45228e4cba5c35c1bc64cd63

name: rio
version: 0.1.15.0
version: 0.1.15.1
synopsis: A standard library for Haskell
description: See README and Haddocks at <https://www.stackage.org/package/rio>
category: Control
Expand Down
2 changes: 1 addition & 1 deletion rio/src/RIO/Process.hs
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ findExecutable
-- ^ Full path to that executable on success
findExecutable name | any FP.isPathSeparator name = do
names <- addPcExeExtensions name
testFPs (pure $ Left $ ExecutableNotFoundAt name) D.canonicalizePath names
testFPs (pure $ Left $ ExecutableNotFoundAt name) D.makeAbsolute names
findExecutable name = do
pc <- view processContextL
m <- readIORef $ pcExeCache pc
Expand Down

0 comments on commit 6539e15

Please sign in to comment.