Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix naming.
  • Loading branch information
matanlurey committed Aug 29, 2023
commit 2340e8589cbf9b0f3208e6b10e65bf0955304bfa
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,13 @@ final class BuildBucketGoldenScraper {
final String line = lines[i];
if (line.startsWith(_base64MagicString)) {
final String relativePath = line.split(_buildBucketMagicString).last.split(':').first;

// Remove the _new suffix from the file name.
final String pathWithouNew = relativePath.replaceAll('_new', '');

final String base64EncodedString = lines[i + 1];
final List<int> bytes = base64Decode(base64EncodedString);
final io.File outFile = io.File(p.join(engine.srcDir.path, relativePath));
final io.File outFile = io.File(p.join(engine.srcDir.path, pathWithouNew));
goldens.add(_Golden(outFile, bytes));
}
}
Expand Down