Explorar el Código

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

production
chess hace 3 años
padre
commit
93d3f6a231
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2
    1
      index.js

+ 2
- 1
index.js Ver fichero

@@ -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;

Cargando…
Cancelar
Guardar