Files
js-scripts/components/component-git.js
2025-04-04 17:19:07 +08:00

10 lines
205 B
JavaScript

exports.isGitUptodate = () => {
var r = $STR($$.shell().commands('git', 'fetch', '--dry-run').mergeError().start()[0]);
if (r.trim().length > 0) {
return false;
}
return true;
};