Skip to content

Commit

Permalink
Merge pull request #8 from cmcooper1980/revert-7-set-ownership-fixes
Browse files Browse the repository at this point in the history
Revert "Fix code that went missing during merge of PR louislam#83"
  • Loading branch information
cmcooper1980 authored Feb 26, 2025
2 parents 1e49164 + f883620 commit 1689edd
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions backend/stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,14 +206,6 @@ export class Stack {
fs.lchownSync(dir, uid, gid);
fs.chownSync(path.join(dir, this._composeFileName), uid, gid);
}

const envPath = path.join(dir, ".env");

// Write or overwrite the .env
// If .env is not existing and the composeENV is empty, we don't need to write it
if (await fileExists(envPath) || this.composeENV.trim() !== "") {
await fsAsync.writeFile(envPath, this.composeENV);
}
}

async deploy(socket : DockgeSocket) : Promise<number> {
Expand Down

0 comments on commit 1689edd

Please # to comment.