Pārlūkot izejas kodu

Added elxr model to link loopback json models with chess-server-lib

production
chess pirms 3 gadiem
vecāks
revīzija
93d3f6a231
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2
    1
      index.js

+ 2
- 1
index.js Parādīt failu

@@ -947,7 +947,8 @@ var op = {
var p = nodeShellExec('mklink', [ `${processedArgs._[2]}.json`
, `..\\..\\node_modules\\chess-server-lib\\common\\models\\${processedArgs._[2]}.json`], {
inherit: true, shell: true
, cwd : instanceroot + `/${selectedinstance.instanceName}-server/${selectedinstance}/models`
, cwd : instanceroot + `/${selectedinstance.instanceName}-server/${selectedinstance.instanceName}/models`
, title: `mklink ${processedArgs._[2]}.json ..\\..\\node_modules\\chess-server-lib\\common\\models\\${processedArgs._[2]}.json`
, env: process.env
}).catch((e) => { console.error(e) })
return p;

Notiek ielāde…
Atcelt
Saglabāt