Files: c5c7a8ffadbd51aa28a5f3f096fe43f69405da44 / test / test-79-npm / phantomjs-prebuilt / phantomjs-prebuilt.js
272 bytesRaw
1 | ; |
2 | |
3 | var fs = require('fs'); |
4 | var path = require('path'); |
5 | var phantomjs = require('phantomjs-prebuilt'); |
6 | var filename = phantomjs.path; |
7 | if (fs.existsSync(filename) && |
8 | path.isAbsolute(filename) && |
9 | filename.indexOf('snapshot') < 0) { |
10 | console.log('ok'); |
11 | } |
12 |
Built with git-ssb-web