Lines Matching refs:stdout
71 this._ensureRepoClean = function (stdout) { argument
72 if (stdout.length) {
76 this._getCurrentBranch = function (stdout) { argument
77 return String(stdout).trim();
112 let stdout = exec(self.gitCmd + ' symbolic-ref --short HEAD').toString();
113 if (!stdout) {
116 _currentBranch = self._getCurrentBranch(stdout);
122 let stdout = exec(self.gitCmd + ' status --porcelain --untracked-files=no').toString();
124 self._ensureRepoClean(stdout);
236 let stdout = exec(cmd).toString() || '';
237 stdout = stdout.trim();
238 if (stdout) {
239 console.log(stdout);