From 490c9995550ee90f84c5050e64204445b4233274 Mon Sep 17 00:00:00 2001 From: Ted Moore Date: Thu, 9 Dec 2021 10:16:34 +0000 Subject: [PATCH] Revert "one extra slash check!" This reverts commit 3ba5c4bf3e4221daff7132cc9b59d21b5f720ab0. --- release-packaging/Classes/FluidFilesPath.sc | 2 +- test/FluidFilesPath_test.scd | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/release-packaging/Classes/FluidFilesPath.sc b/release-packaging/Classes/FluidFilesPath.sc index 8c62565..7a3c82e 100644 --- a/release-packaging/Classes/FluidFilesPath.sc +++ b/release-packaging/Classes/FluidFilesPath.sc @@ -2,6 +2,6 @@ FluidFilesPath { *new { arg fileName; fileName = fileName ? ""; - ^("%/../AudioFiles".format(File.realpath(FluidDataSet.class.filenameSymbol).dirname) +/+ fileName); + ^("%/../AudioFiles/".format(File.realpath(FluidDataSet.class.filenameSymbol).dirname) +/+ fileName); } } \ No newline at end of file diff --git a/test/FluidFilesPath_test.scd b/test/FluidFilesPath_test.scd index 0640a9f..585f577 100644 --- a/test/FluidFilesPath_test.scd +++ b/test/FluidFilesPath_test.scd @@ -1,7 +1,6 @@ ( // should all return the same path: (FluidFilesPath()++"Nicol-LoopE-M.wav").postln; -(FluidFilesPath()+/+"Nicol-LoopE-M.wav").postln; FluidFilesPath("Nicol-LoopE-M.wav").postln; FluidFilesPath("/Nicol-LoopE-M.wav").postln; )