nl_tokens: Conditionally pushes file to list - returns true if pushed false otherwise ( e . g . prevents hidden files to be included unless explicitly told so )
pl_tokens: function pushFile ( <mask> , query ) { // hidden file? if ( path . basename ( file ) [ 0 ] === '.' ) { // not explicitly asking for hidden files? if ( ! options . all && ! ( path . basename ( query ) [ 0 ] === '.' && path . basename ( query ) . length > 1 ) ) return false ; } if ( common . platform === 'win' ) file = file . replace ( / \\ / g , '/' ) ; list . push ( file ) ; return true ; }