mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 18:29:27 +02:00
Use an object to represent a server
This commit is contained in:
parent
89d241a79c
commit
254d3579f5
154 changed files with 1068 additions and 1056 deletions
|
@ -37,7 +37,7 @@ export class ServersCommand extends AbstractCommand {
|
|||
if (isGithubCI()) {
|
||||
await ensureDir('artifacts')
|
||||
|
||||
const origin = this.server.servers.buildDirectory('logs/peertube.log')
|
||||
const origin = this.buildDirectory('logs/peertube.log')
|
||||
const destname = `peertube-${this.server.internalServerNumber}.log`
|
||||
console.log('Saving logs %s.', destname)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue