Skip to content

Commit

Permalink
SDK-5690: Cleanup integration.lock and add it into .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
vol4onok committed Dec 13, 2023
1 parent 860be52 commit c8e7293
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/integrator
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

defined('APPLICATION_ROOT_DIR') || define('APPLICATION_ROOT_DIR', getcwd() );

defined('INTEGRATOR_ROOT_DIR') || define('INTEGRATOR_ROOT_DIR', dirname(__DIR__, 4) );
defined('INTEGRATOR_ROOT_DIR') || define('INTEGRATOR_ROOT_DIR', dirname(__DIR__) );

defined('APPLICATION_SOURCE_DIR')
|| define('APPLICATION_SOURCE_DIR', APPLICATION_ROOT_DIR . DIRECTORY_SEPARATOR . 'src');
Expand Down
2 changes: 1 addition & 1 deletion src/IntegratorLock/IntegratorLockCleaner.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function deleteLock(): void

$this->processExecutor->execute([sprintf('echo %s >> %s', $this->config::INTEGRATOR_LOCK, static::GITIGNORE_FILE)]);
$this->processExecutor->execute(['git', 'add', $lockFilePath]);
$this->processExecutor->execute(['git', 'commit', '-m', sprintf('Removed `%s` file.', $this->config::INTEGRATOR_LOCK)]);
$process = $this->processExecutor->execute(['git', 'commit', '-m', sprintf('Removed `%s` file.', $this->config::INTEGRATOR_LOCK), '-n']);
}

/**
Expand Down

0 comments on commit c8e7293

Please sign in to comment.