Plato on Github
Report Home
lib/scm-schemes/git.js
Maintainability
91.98
Lines of code
19
Difficulty
10.31
Estimated Errors
0.08
Function weight
By Complexity
By SLOC
"use strict" import simpleGit from 'simple-git'; const _simpleGit = simpleGit(process.cwd()); function addVersion(version, cb) { _simpleGit.addTag(version, cb); } function saveChanges(message, paths, cb) { _simpleGit.commit(message, paths, {}, cb); } const exports = { addVersion: addVersion, saveChanges: saveChanges }; export { exports as default };