From 3a8440ae56a7775ba322008206b7e327c580123e Mon Sep 17 00:00:00 2001 From: DameNegi Date: Fri, 30 Nov 2012 13:59:11 +0900 Subject: [PATCH] Run Cake Tasks: cakepath fix cakepath is args of Popen(cwd=cakepath) slice 'Cakefile' from cakepath --- CoffeeScript.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CoffeeScript.py b/CoffeeScript.py index 7cb5429..d7db64c 100755 --- a/CoffeeScript.py +++ b/CoffeeScript.py @@ -140,7 +140,7 @@ def finish(self, task): if not self.window.folders(): cakepath = path.dirname(self.window.active_view().file_name()) else: - cakepath = path.join(self.window.folders()[0], 'Cakefile') + cakepath = path.dirname(path.join(self.window.folders()[0], 'Cakefile')) if not path.exists(cakepath): cakepath = path.dirname(self.window.active_view().file_name())