Skip to content
This repository has been archived by the owner on Dec 28, 2021. It is now read-only.

Commit

Permalink
Update Locker.php
Browse files Browse the repository at this point in the history
  • Loading branch information
RamonSmit authored Oct 18, 2017
1 parent db0852f commit e966eac
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/Helpers/Locker.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@ class Locker
*/
public static function verify(Connection $ssh, $stage)
{
$home = config('laravel-deploy-helper.stages.'.$stage.'.remote.root');
// $home = config('laravel-deploy-helper.stages.'.$stage.'.remote.root');

if ($ssh->exists($home.self::$lockfile)) {
return true;
}
// if ($ssh->exists($home.self::$lockfile)) {
// return true;
// }

return false;
// return false;
return true;
}

/**
Expand Down

0 comments on commit e966eac

Please sign in to comment.