tasks/kss.js
function getKssNode(baseKssPath, currentPath) {
            var kss = null;
            var localKss = currentPath + '/node_modules/' + baseKssPath;
            if (grunt.file.exists(localKss)) {
                return localKss;
            }
            var projektPath = path.dirname(currentPath);
            var projectKss = projektPath + '/' + baseKssPath;
            if (grunt.file.exists(projectKss)) {
                return projectKss;

            } else {
                grunt.log.error('Kss-node not found, please install kss!');
                grunt.fail.warn('Wrong installation/environnement', 1);
            }
        }
function getKssNode(baseKssPath, currentPath) {
            var kss = null;
            var localKss = currentPath + '/node_modules/' + baseKssPath;
            if (grunt.file.exists(localKss)) {
                return localKss;
            }
            var projektPath = path.dirname(currentPath);
            var projectKss = projektPath + '/' + baseKssPath;
            if (grunt.file.exists(projectKss)) {
                return projectKss;

            } else {
                grunt.log.error('Kss-node not found, please install kss!');
                grunt.fail.warn('Wrong installation/environnement', 1);
            }
        }
function getKssNode ( baseKssPath , currentPath ) { var kss = null ; var localKss = currentPath + '/node_modules/' + baseKssPath ; if ( grunt . file . exists ( localKss ) ) { return localKss ; } var projektPath = path . dirname ( currentPath ) ; var projectKss = projektPath + '/' + baseKssPath ; if ( grunt . file . exists ( projectKss ) ) { return projectKss ; } else { grunt . log . error ( 'Kss-node not found, please install kss!' ) ; grunt . fail . warn ( 'Wrong installation/environnement' , 1 ) ; } }
found out the kss-node module

@param {string} baseKssPath base dir 'kss/bin/kss-node'
@param {string} currentPath current Project Path
@returns {string}
found out the kss - node module