Files: ca90b5ca0579ebdcc0635288bce4978e3fb200f5 / test / test-79-npm / graceful-fs / graceful-fs.js
228 bytesRaw
1 | ; |
2 | |
3 | // only pkg-ed run |
4 | if (!process.pkg) { |
5 | console.log('ok'); |
6 | return; |
7 | } |
8 | |
9 | var fs = require('graceful-fs'); |
10 | var hack = 'dirty-hack-for-testing-purposes'; |
11 | if (fs.readFileSync(hack) === hack) { |
12 | console.log('ok'); |
13 | } |
14 |
Built with git-ssb-web