Skip to content

Commit

Permalink
Update ExtractTask.php
Browse files Browse the repository at this point in the history
Fix with Plugin::classPath as @markstory suggested
  • Loading branch information
luke83 committed Aug 27, 2014
1 parent adca7b7 commit 80b69f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Shell/Task/ExtractTask.php
Expand Up @@ -155,7 +155,7 @@ public function main() {
if (!Plugin::loaded($plugin)) {
Plugin::load($plugin);
}
$this->_paths = [Plugin::path($plugin)];
$this->_paths = [Plugin::classPath($plugin)];
$this->params['plugin'] = $plugin;
} else {
$this->_getPaths();
Expand Down Expand Up @@ -187,7 +187,7 @@ public function main() {
if (isset($this->params['output'])) {
$this->_output = $this->params['output'];
} elseif (isset($this->params['plugin'])) {
$this->_output = rtrim($this->_paths[0], DS) . DS . 'src' . DS . 'Locale';
$this->_output = $this->_paths[0] . DS . 'Locale';
} else {
$message = "What is the path you would like to output?\n[Q]uit";
while (true) {
Expand Down

0 comments on commit 80b69f1

Please sign in to comment.