From d05ef056798eb459a01c3e20647588ea3126d346 Mon Sep 17 00:00:00 2001 From: Manuel Alabor Date: Fri, 24 Jan 2014 08:54:22 +0100 Subject: [PATCH] fix directory creation --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 68204e4..9190edb 100644 --- a/index.js +++ b/index.js @@ -205,7 +205,7 @@ function reportSpecResults(spec) { // pathBuilder can return a subfoldered path too. So extract the // directory path without the baseName - , directory = path.dirname(baseName); + , directory = path.dirname(screenShotPath); metaData.screenShotFile = screenShotPath;