bug fixed
This commit is contained in:
parent
5eb8df194f
commit
9b9b7a3ef8
2 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,6 @@ class AppDataManager {
|
|||
Future<int> gitCount() async {
|
||||
var shell = StringBuffer();
|
||||
shell.writeln('git rev-list --all HEAD --all --count');
|
||||
_workspace = '/home/deck/work/dart_framework';
|
||||
var process = await ProcessExecutor.start(shell, workspace: _workspace);
|
||||
await process.waitForExit();
|
||||
return dataFutrue(int.parse(process.stdoutArr.last));
|
||||
|
|
|
|||
|
|
@ -115,6 +115,7 @@ class ProcessData {
|
|||
|
||||
void _checkComplete() {
|
||||
if (_completeExitCode && _completeStdout && _completeStderr) {
|
||||
_deleteFile();
|
||||
_completer.complete();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue