mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-24 10:23:17 +00:00
Merge pull request #953 from romainneutron/fix-grunt-driver
[3.9] Fix grunt usage. It needs to be at Phraseanet root to work correctly as local npm package
This commit is contained in:
@@ -40,6 +40,9 @@ class GruntDriver extends AbstractBinary
|
||||
|
||||
$binaries = $conf->get('grunt.binaries', ['grunt']);
|
||||
|
||||
return static::load($binaries, $logger, $conf);
|
||||
$driver = static::load($binaries, $logger, $conf);
|
||||
$driver->getProcessBuilderFactory()->getBuilder()->setWorkingDirectory(__DIR__.'/../../../../../..');
|
||||
|
||||
return $driver;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user