aboutsummaryrefslogtreecommitdiffhomepage
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/peertube-runner/shared/config-manager.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/peertube-runner/shared/config-manager.ts b/packages/peertube-runner/shared/config-manager.ts
index 352bae1fa..548eeab85 100644
--- a/packages/peertube-runner/shared/config-manager.ts
+++ b/packages/peertube-runner/shared/config-manager.ts
@@ -112,7 +112,7 @@ export class ConfigManager {
112 // --------------------------------------------------------------------------- 112 // ---------------------------------------------------------------------------
113 113
114 isTestInstance () { 114 isTestInstance () {
115 return this.id === 'test' 115 return typeof this.id === 'string' && this.id.match(/^test-\d$/)
116 } 116 }
117 117
118 // --------------------------------------------------------------------------- 118 // ---------------------------------------------------------------------------