From d4fcfbd03436ce340fe58f8911b64b58e07798b4 Mon Sep 17 00:00:00 2001 From: Matt Colyer Date: Tue, 17 Dec 2013 18:20:44 -0800 Subject: [PATCH] Remove ci.log from package directories --- tasks/spec-task.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/spec-task.coffee b/tasks/spec-task.coffee index 9e2d1882c..225222914 100644 --- a/tasks/spec-task.coffee +++ b/tasks/spec-task.coffee @@ -39,8 +39,8 @@ module.exports = (grunt) -> grunt.verbose.writeln "Launching #{path.basename(packagePath)} specs." spawn options, (error, results, code) -> if process.platform is 'win32' - process.stdout.write(fs.readFileSync('ci.log')) - fs.unlinkSync('ci.log') + process.stdout.write(fs.readFileSync(path.join(packagePath, 'ci.log'))) + fs.unlinkSync(path.join(packagePath, 'ci.log')) failedPackages.push path.basename(packagePath) if error callback()