grim/convey

Parents fc5b4007a8d7
Children 1a6ea3b6c7b9
Fix relative imports when running a convey.yml in another directory. Fixes #176
  • +2 -0
    ChangeLog
  • +1 -1
    path/path.go
  • --- a/ChangeLog Sat Feb 17 01:05:33 2018 -0600
    +++ b/ChangeLog Sun Feb 18 21:26:26 2018 -0600
    @@ -17,6 +17,8 @@
    * Added a new aws/ecr-login task for logging into AWS ECR. Fixed #161
    * Added kubectl/apply, kubectl/create, and kubectl/delete tasks. Fixed #170
    * Added a new convey/noop task that does nothing. Fixed #174
    + * Fixed an issue where relative import paths wouldn't work right if the
    + convey.yml is in another directory. Fixed #176
    0.13.1: 20180114
    * Write warning, error, and fatal log messages to stderr. Fixed #156
    --- a/path/path.go Sat Feb 17 01:05:33 2018 -0600
    +++ b/path/path.go Sun Feb 18 21:26:26 2018 -0600
    @@ -28,7 +28,7 @@
    // root is traversed.
    func Traverses(root, path string) (string, error) {
    if path == "." {
    - return ".", nil
    + return root, nil
    }
    if !filepath.IsAbs(path) {