Closed ozten closed 11 years ago
We should try to use fs.existsSync and fallback to path's version if unavailable.
var fs = require('fs'); var path = require('path'); var existsSync = fs.existsSync || path.existsSync;
We should try to use fs.existsSync and fallback to path's version if unavailable.