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