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