We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 378b268 + 4d33997 commit 444de6eCopy full SHA for 444de6e
Provider/RevisionProvider.php
@@ -45,7 +45,7 @@ public function getVersion()
45
*/
46
private function isCapistranoEnv()
47
{
48
- return file_exists($this->path . 'REVISION');
+ return file_exists($this->path . DIRECTORY_SEPARATOR . 'REVISION');
49
}
50
51
/**
@@ -72,7 +72,7 @@ private function canGetRevision()
72
73
private function getRevision()
74
75
- $result = file_get_contents($this->path . 'REVISION');
+ $result = file_get_contents($this->path . DIRECTORY_SEPARATOR . 'REVISION');
76
77
return $result;
78
0 commit comments