mirror of
https://github.com/wekan/wekan.git
synced 2025-04-20 12:07:11 -04:00
Fix lint errors related to sandstorm
This commit is contained in:
parent
373e9782dc
commit
0a16147470
2 changed files with 5 additions and 4 deletions
|
@ -130,6 +130,7 @@
|
|||
"HTTP": true,
|
||||
"AccountSettings": true,
|
||||
"Announcements": true,
|
||||
"Swimlanes": true
|
||||
"Swimlanes": true,
|
||||
"Npm": true
|
||||
}
|
||||
}
|
||||
|
|
|
@ -22,9 +22,9 @@ const sandstormBoard = {
|
|||
|
||||
if (isSandstorm && Meteor.isServer) {
|
||||
const fs = require('fs');
|
||||
const pathParts = process.cwd().split("/");
|
||||
var path = pathParts.join("/");
|
||||
const Capnp = Npm.require(path + "../../../node_modules/capnp.js");
|
||||
const pathParts = process.cwd().split('/');
|
||||
const path = pathParts.join('/');
|
||||
const Capnp = Npm.require(`${path}../../../node_modules/capnp.js`);
|
||||
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