Skip to content

Commit

Permalink
Fixes #49: Adjusts path to root for phars and removes sync dir from c…
Browse files Browse the repository at this point in the history
…onfig.
  • Loading branch information
typhonius committed Mar 23, 2020
1 parent 6c994a8 commit a0e614b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bin/acquiacli-robo.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

$pharPath = \Phar::running(true);
if ($pharPath) {
$root = __DIR__;
$root = $pharPath;
$autoloaderPath = "$pharPath/vendor/autoload.php";
} else {
if (file_exists(dirname(__DIR__).'/vendor/autoload.php')) {
Expand Down
1 change: 0 additions & 1 deletion default.acquiacli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ extraconfig:
format: 'Y-m-d H:i:s'
taskwait: 5
timeout: 300
configsyncdir: 'sync'
3 changes: 1 addition & 2 deletions tests/AcquiaCliApplicationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ public function testConfig()
'timezone' => 'Australia/Sydney',
'format' => 'Y-m-d H:i:s',
'taskwait' => 5,
'timeout' => 300,
'configsyncdir' => 'sync'
'timeout' => 300
];

$this->assertEquals($defaultAcquiaConfig, $config->get('acquia'));
Expand Down

0 comments on commit a0e614b

Please sign in to comment.