diff --git a/index.js b/index.js index 7a91930..0c9965e 100644 --- a/index.js +++ b/index.js @@ -4,7 +4,7 @@ var xtend = require('xtend') var path = require('path') var fuse = require('node-gyp-build')(__dirname) -var { beforeMount, beforeUnmount, configure, unconfigure } = require('fuse-shared-library') +var { beforeMount, beforeUnmount, configure, unconfigure, isConfigured } = require('fuse-shared-library') var noop = function () {} var call = function (cb) { cb() } @@ -25,6 +25,8 @@ fuse.setCallback(function (index, callback) { return callback.bind(null, index) }) +exports.isConfigured = isConfigured + exports.context = function () { var ctx = {} fuse.populateContext(ctx)