Skip to content

Commit

Permalink
change cwd
Browse files Browse the repository at this point in the history
  • Loading branch information
patiernom committed Aug 3, 2015
1 parent d96d033 commit bf400dc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ tests/
.jscsrc
.jshintrc
gulpfile.js
.npmignore
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ module.exports = function(gulp, options, plugins, helpers){
});

var tasksPattern = path.join (
options.cwd,
options.dirname,
options.pattern
),
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "grulper-load-tasks",
"version": "1.0.1",
"version": "1.0.2",
"description": "A simple module for load your gulp tasks",
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions tests/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ describe('Grulper Tasks Loader', function() {
plugins = require('gulp-load-plugins')(),
helpers = { },
options = {
dirname: '/stubTasks', // The directory that tasks are located in
dirname: './tests/stubTasks', // The directory that tasks are located in
pattern: '*.js', // Pattern to use when looking for task files
cwd: './tests' // Current working directory configuration
cwd: process.cwd() // Current working directory configuration
};

gulp = testGrulperLoadTasks(gulp, options, plugins, helpers);
Expand Down

0 comments on commit bf400dc

Please sign in to comment.