Skip to content

Commit ee36cf0

Browse files
authored
Merge branch 'main' into fix/clear-workflow-pipelines
2 parents 31a9cfc + fdfd549 commit ee36cf0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Adapter/Filesystem/SatelliteBuilder.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,10 @@ public function build(): Configurator\SatelliteInterface
114114
}
115115
}
116116

117+
if (!file_exists($this->workdir.'/.env') && file_exists(getcwd().'/.env')) {
118+
symlink(getcwd().'/.env', $this->workdir.'/.env');
119+
}
120+
117121
$composer = new Satellite\Adapter\Composer($this->workdir);
118122
$satellite = new Satellite\Adapter\Filesystem\Satellite(
119123
$this->workdir,

0 commit comments

Comments
 (0)