Skip to content

Commit b5dc67c

Browse files
author
Hilscher, Robert
committed
fix for assets
1 parent 2893282 commit b5dc67c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "grunt-protractor-cucumber-html-report",
33
"description": "Generate html report from JSON file returned by cucumber-js json formatter",
4-
"version": "0.0.5",
4+
"version": "0.0.6",
55
"homepage": "https://github.com/robhil/grunt-protractor-cucumber-html-report",
66
"author": {
77
"name": "Hilscher, Robert",

tasks/protractor-cucumber-html-report.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ module.exports = function(grunt) {
4040
testResults = grunt.file.readJSON(jsonPath);
4141
grunt.file.write(options.dest + '/' + options.output, formatter.generateReport(testResults, options.templates));
4242

43-
grunt.file.recurse('./templates/assets', function (abspath, rootdir, subdir, filename) {
43+
grunt.file.recurse(currentDir + '/../templates/assets', function (abspath, rootdir, subdir, filename) {
4444

4545
grunt.file.copy(abspath, options.dest + '/assets/' + subdir + '/'+ filename);
4646

0 commit comments

Comments
 (0)