Files: 938b7ea4cfaa3cef6e1690b9ef3ea8bd7a0d2de1 / test / test-50-mountpoints / test-x-index.js
479 bytesRaw
1 | ; |
2 | |
3 | var fs = require('fs'); |
4 | var path = require('path'); |
5 | |
6 | require('./plugins-C-int/test-y-require-C.js'); |
7 | |
8 | // require(path.join(path.dirname(process.execPath), "plugins-D-ext/test-y-require-D.js")); |
9 | |
10 | var myDirectory = path.dirname(process.execPath); |
11 | |
12 | process.pkg.mount( |
13 | path.join(__dirname, 'plugins-D-ext'), |
14 | path.join(myDirectory, 'plugins-D-ext') |
15 | ); |
16 | |
17 | require('./plugins-D-ext/test-y-require-D.js'.slice()); |
18 | |
19 | console.log( |
20 | fs.readdirSync(__dirname).join('\n') |
21 | ); |
22 |
Built with git-ssb-web