Parsing variables in the Wipe plugin

This commit is contained in:
Stephen Ball 2015-03-16 11:09:45 +00:00
parent ecc92b5f3e
commit 52b2f87df2

View file

@ -43,7 +43,7 @@ class Wipe implements \PHPCI\Plugin
$path = $phpci->buildPath;
$this->phpci = $phpci;
$this->build = $build;
$this->directory = isset($options['directory']) ? $options['directory'] : $path;
$this->directory = isset($options['directory']) ? $this->phpci->interpolate($options['directory']) : $path;
}
/**