mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
pleaserun: use the userScriptsDir grunt config variable (as defined/used in osPackages)
Fixes #5322
This commit is contained in:
parent
eb919f77a8
commit
8aac131aee
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
@ -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']);
|
||||
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue