lib/sct/docker/yarn.rb in sct-0.1.11 vs lib/sct/docker/yarn.rb in sct-0.1.12

- old
+ new

@@ -5,10 +5,10 @@ # Configure the Yarn command def self.config self.setImage("eu.gcr.io/dev-pasc-vcdm/helpers-yarn:latest", true) self.setPwdAsVolume("/app") - self.addVolume(Sct::Config.convertWSLToWindowsPath(Sct::Config.getTrueHomePath()+"/.cache") , "/.cache") + self.addVolume(Sct::Helpers.convertWSLToWindowsPath("#{Sct::Helpers.windowsHomePath || Sct::Helpers.homePath}/.cache") , "/.cache") self.mapPort(8081, 8080) self.mapPort(9001) self.setCurrentUserAndGroup() end end