Skip to content

Commit

Permalink
Merge pull request #11 from bawahakim/dahaka/fix-windows-parsing
Browse files Browse the repository at this point in the history
Fix windows parsing issue
  • Loading branch information
hyiso authored Jan 8, 2024
2 parents 4fe29ad + da441bb commit 7563a6d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/src/git.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import 'dart:io' show Process, ProcessException, ProcessResult;
import 'dart:math';

import 'package:ansi/ansi.dart';
import 'package:path/path.dart';
import 'package:verbose/verbose.dart';

final _verbose = Verbose('lit_staged:git');
Expand Down Expand Up @@ -70,7 +69,7 @@ class Git {
Future<List<String>> get stagedFiles async {
final args = getDiffArgs(diff: _diff, diffFilter: diffFilter);
final output = await _stdout(args);
final files = parseGitZOutput(output).map((e) => normalize(e)).toList();
final files = parseGitZOutput(output).toList();
_verbose('Staged files: $files');
return files;
}
Expand Down

0 comments on commit 7563a6d

Please sign in to comment.