Commit 5791ea07 authored by nanahira's avatar nanahira

fix

parent 54252535
Pipeline #37832 passed with stages
in 10 minutes and 36 seconds
...@@ -1602,7 +1602,9 @@ class Room ...@@ -1602,7 +1602,9 @@ class Room
env: { env: {
...process.env, ...process.env,
YGOPRO_EXPANSIONS: settings.modules.expansions_path YGOPRO_EXPANSIONS: settings.modules.expansions_path
.map(s => path.resolve(settings.modules.ygopro_path, s)) .map((s) ->
path.resolve(settings.modules.ygopro_path, s)
)
.join(',') .join(',')
} }
} }
......
...@@ -2059,9 +2059,9 @@ ...@@ -2059,9 +2059,9 @@
cwd: path.resolve(settings.modules.ygopro_path), cwd: path.resolve(settings.modules.ygopro_path),
env: { env: {
...process.env, ...process.env,
YGOPRO_EXPANSIONS: settings.modules.expansions_path.map(s(() => { YGOPRO_EXPANSIONS: settings.modules.expansions_path.map(function(s) {
return path.resolve(settings.modules.ygopro_path, s); return path.resolve(settings.modules.ygopro_path, s);
})).join(',') }).join(',')
} }
}); });
this.process_pid = this.process.pid; this.process_pid = this.process.pid;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment