git ssb

0+

cel-desktop / ssb-pkg



Tree: cfc8d49135488f7554210234b3a503c2dbd6c6a5

Files: cfc8d49135488f7554210234b3a503c2dbd6c6a5 / test / test-50-not-found-wording / test-x-index.js

330 bytesRaw
1'use strict';
2
3var fs = require('fs');
4var path = require('path');
5var name = path.join(__dirname, 'not' + 'exists'); // eslint-disable-line no-useless-concat
6
7try {
8 fs.readFileSync(name);
9} catch (e) {
10 console.log(e.message);
11}
12
13console.log('*****');
14
15try {
16 require('not-exists');
17} catch (e) {
18 console.log(e.message);
19}
20

Built with git-ssb-web