bug fixed

This commit is contained in:
Toki 2024-12-30 13:05:26 +09:00
parent 5eb8df194f
commit 9b9b7a3ef8
2 changed files with 1 additions and 1 deletions

View file

@ -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));

View file

@ -115,6 +115,7 @@ class ProcessData {
void _checkComplete() {
if (_completeExitCode && _completeStdout && _completeStderr) {
_deleteFile();
_completer.complete();
}
}