MCPcopy
hub / github.com/csscomb/csscomb.js / _extractSyntax

Method _extractSyntax

src/core.js:463–467  ·  view source on GitHub ↗

* Extract syntax by file path * * @param {String} path * @returns {String} syntax

(path)

Source from the content-addressed store, hash-verified

461 * @returns {String} syntax
462 */
463 _extractSyntax(path) {
464 var extension = path.split('.').pop();
465
466 return this.syntaxMap.get('.' + extension) || extension;
467 }
468}
469
470module.exports = Comb;

Callers 3

lintFileMethod · 0.95
_shouldProcessFileMethod · 0.95
processFileMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected