Skip to content

Commit 16c0b52

Browse files
committed
Update
1 parent 5e328ef commit 16c0b52

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

lib/src/generate_screen_access/generator.dart

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,17 @@ Future<void> generateScreenAccess({
4444
);
4545
final sourceFileExplorerResults = await sourceFileExporer.explore();
4646

47-
final template = extractCodeFromMarkdown(
48-
await loadFileFromGitHub(
49-
username: 'robmllze',
50-
repo: 'df_generate_screen',
51-
filePath: [
52-
templateFilePath ?? 'templates/screen_access.dart.md',
53-
].join('/'),
54-
),
55-
);
47+
printYellow(sourceFileExplorerResults.filePathResults.map((e) => e.path));
48+
49+
// final template = extractCodeFromMarkdown(
50+
// await loadFileFromGitHub(
51+
// username: 'robmllze',
52+
// repo: 'df_generate_screen',
53+
// filePath: [
54+
// templateFilePath ?? 'templates/screen_access.dart.md',
55+
// ].join('/'),
56+
// ),
57+
// );
5658

5759
// ---------------------------------------------------------------------------
5860

@@ -63,8 +65,8 @@ Future<void> generateScreenAccess({
6365
);
6466

6567
// For each file...
66-
for (final filePathResult in sourceFileExplorerResults.filePathResults
67-
.where((e) => e.category == _Categories.DART)) {
68+
for (final filePathResult
69+
in sourceFileExplorerResults.filePathResults.where((e) => e.category == _Categories.DART)) {
6870
final filePath = filePathResult.path;
6971

7072
// Extract insights from the file.

0 commit comments

Comments
 (0)