mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01: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,
|
"HTTP": true,
|
||||||
"AccountSettings": true,
|
"AccountSettings": true,
|
||||||
"Announcements": true,
|
"Announcements": true,
|
||||||
"Swimlanes": true
|
"Swimlanes": true,
|
||||||
|
"Npm": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -22,9 +22,9 @@ const sandstormBoard = {
|
||||||
|
|
||||||
if (isSandstorm && Meteor.isServer) {
|
if (isSandstorm && Meteor.isServer) {
|
||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
const pathParts = process.cwd().split("/");
|
const pathParts = process.cwd().split('/');
|
||||||
var path = pathParts.join("/");
|
const path = pathParts.join('/');
|
||||||
const Capnp = Npm.require(path + "../../../node_modules/capnp.js");
|
const Capnp = Npm.require(`${path}../../../node_modules/capnp.js`);
|
||||||
const Package = Capnp.importSystem('sandstorm/package.capnp');
|
const Package = Capnp.importSystem('sandstorm/package.capnp');
|
||||||
const Powerbox = Capnp.importSystem('sandstorm/powerbox.capnp');
|
const Powerbox = Capnp.importSystem('sandstorm/powerbox.capnp');
|
||||||
const Identity = Capnp.importSystem('sandstorm/identity.capnp');
|
const Identity = Capnp.importSystem('sandstorm/identity.capnp');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue