Files: c5c7a8ffadbd51aa28a5f3f096fe43f69405da44 / 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