Files: 67c0e15a98a66eb99db2251478505d6f3d37535c / test / test-50-package-json-6c / beta / alpha.js
407 bytesRaw
1 | ; |
2 | |
3 | require('../beta'); |
4 | |
5 | if (process.pkg && require('path').sep === '/') { |
6 | if (__dirname === '/snapshot/pkg/test/test-50-package-json-6c/beta') { |
7 | try { |
8 | console.log(require('fs').readFileSync('/snapshot/pkg/package.json', 'utf-8')); |
9 | } catch (_) { |
10 | // must not take pkg/package.json into executable |
11 | } |
12 | } else { |
13 | require('assert')(__dirname === '/snapshot/beta'); |
14 | } |
15 | } |
16 |
Built with git-ssb-web