git ssb

0+

cel-desktop / ssb-pkg



Tree: efcf9fd06b02fa9bcd28681b4c777224e19702bb

Files: efcf9fd06b02fa9bcd28681b4c777224e19702bb / test / test-50-node-modules-tree / test-x-index.js

1065 bytesRaw
1'use strict';
2
3var fs = require('fs');
4var path = require('path');
5
6console.log([
7
8 require('./test-y-fish-A'),
9 require('test-y-fish-B'),
10
11// fs.readFileSync(require.resolve("./test-y-fish-E"), "utf8"),
12// fs.readFileSync(require.resolve("test-y-fish-F"), "utf8"),
13 fs.readFileSync(path.join(__dirname, './test-y-fish-G'), 'utf8'),
14 fs.readFileSync(path.join(__dirname, 'test-y-fish-H'), 'utf8'),
15
16 fs.existsSync('./test-y-fish-C').toString(),
17 fs.existsSync('test-y-fish-D').toString(),
18// fs.existsSync(require.resolve("./test-y-fish-E")).toString(),
19// fs.existsSync(require.resolve("test-y-fish-F")).toString(),
20 fs.existsSync(path.join(__dirname, './test-y-fish-G')).toString(),
21 fs.existsSync(path.join(__dirname, 'test-y-fish-H')).toString(),
22
23 require('test-y-fish-I'), // разница в node_modules\test-y-fish-I\index.js
24 require('test-y-fish-J'),
25 JSON.stringify(require('test-y-fish-M')),
26 JSON.stringify(require('test-y-fish-N')),
27 require('test-y-fish-O'),
28 require('test-y-fish-P'),
29
30 require('test-y-fish-R')
31
32].join('\n'));
33

Built with git-ssb-web