ember-cli-jsdoc icon indicating copy to clipboard operation
ember-cli-jsdoc copied to clipboard

Replace doesExist() definition and usage in blueprints/ember-cli-jsdoc/index.js

Open notmessenger opened this issue 10 years ago • 1 comments
trafficstars

Replace with https://github.com/ember-cli/exists-sync

notmessenger avatar Jul 08 '15 22:07 notmessenger

Can this be of any use?

    isDirectory: function( aPath ) {
        try {
            return fs.statSync( aPath ).isDirectory();
        } catch ( e ) {
            if ( 'ENOENT' === e.code ) {
                return false;
            } else {
                throw e;
            }
        }
    }

notmessenger avatar May 02 '16 02:05 notmessenger