run vinyl.src in the plugin.root directory

Original commit: elastic/kibana-plugin-helpers@8f3081b029
This commit is contained in:
spalger 2016-11-17 03:17:31 -07:00
parent 6ec4fc4ca1
commit a52da8e3d6

View file

@ -58,7 +58,7 @@ module.exports = function (plugin, callback) {
}
vfs
.src(files, { base: plugin.root })
.src(files, { cwd: plugin.root, base: plugin.root })
// rewrite the target kibana version while the
// file is on it's way to the archive