diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e9e53a..c9e3fbd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,11 @@ This change log follows the conventions of ## [Unreleased][unreleased] -Nothing so far. +### Fixed + +- Afterglow would crash when told to convert a QLC+ fixture definition + in the current working directory (with no path component), #72 + ## [0.2.5] - 2022-01-12 diff --git a/project.clj b/project.clj index eb0c32b..0185615 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject afterglow "0.2.5" +(defproject afterglow "0.2.6-SNAPSHOT" :description "A live-coding environment for light shows, built on the Open Lighting Architecture, using bits of Overtone." :url "https://github.com/Deep-Symmetry/afterglow" :license {:name "Eclipse Public License 2.0" diff --git a/src/afterglow/fixtures/qxf.clj b/src/afterglow/fixtures/qxf.clj index 20a8f03..4081438 100644 --- a/src/afterglow/fixtures/qxf.clj +++ b/src/afterglow/fixtures/qxf.clj @@ -311,7 +311,7 @@ it that can be used as the starting point of an Afterglow fixture definition. Returns an exit status and message for the user." [path] - (let [source (io/file path) + (let [source (.getCanonicalFile (io/file path)) qxf (parse-qxf source) dest (io/file (.getParent source) (str (csk/->kebab-case (:model qxf)) ".clj"))] (cond