feat: add components
This commit is contained in:
9
components/component-git.js
Normal file
9
components/component-git.js
Normal file
@@ -0,0 +1,9 @@
|
||||
|
||||
exports.isGitUptodate = () => {
|
||||
var r = $STR($$.shell().commands('git', 'fetch', '--dry-run').mergeError().start()[0]);
|
||||
if (r.trim().length > 0) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user