mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
Fix capnp workaround to work with newest Meteor and Node 12.x.
Thanks to kentonv !
This commit is contained in:
parent
4bc6ad3b4c
commit
b2d546579c
1 changed files with 1 additions and 3 deletions
|
@ -22,9 +22,7 @@ const sandstormBoard = {
|
|||
|
||||
if (isSandstorm && Meteor.isServer) {
|
||||
const fs = require('fs');
|
||||
const pathParts = process.cwd().split('/');
|
||||
const path = pathParts.join('/');
|
||||
const Capnp = Npm.require(`${path}../../../node_modules/capnp.js`);
|
||||
const Capnp = Npm.require(`capnp`);
|
||||
const Package = Capnp.importSystem('sandstorm/package.capnp');
|
||||
const Powerbox = Capnp.importSystem('sandstorm/powerbox.capnp');
|
||||
const Identity = Capnp.importSystem('sandstorm/identity.capnp');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue