Skip to content

Commit

Permalink
pleaserun: use the userScriptsDir grunt config variable (as defined/u…
Browse files Browse the repository at this point in the history
…sed in osPackages)

Fixes #5322
  • Loading branch information
stdweird authored and jbudz committed Dec 28, 2015
1 parent 5ea1ad9 commit 135ac28
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tasks/build/pleaserun.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module.exports = function createServices(grunt) {
var { resolve } = require('path');

let exec = require('../utils/exec');
let userScriptsPath = grunt.config.get('userScriptsPath');
let userScriptsDir = grunt.config.get('userScriptsDir');

grunt.registerTask('_build:pleaseRun', function () {
// TODO(sissel): Detect if 'pleaserun' is found, and provide a useful error
Expand All @@ -23,8 +23,8 @@ module.exports = function createServices(grunt) {
]);
});

grunt.file.mkdir(userScriptsPath);
exec('please-manage-user', ['--output', userScriptsPath, 'kibana']);
grunt.file.mkdir(userScriptsDir);
exec('please-manage-user', ['--output', userScriptsDir, 'kibana']);

});
};

0 comments on commit 135ac28

Please sign in to comment.