mirror of
https://github.com/flutter/flutter
synced 2024-10-30 06:23:38 +00:00
Fix the path where footer is written. (#114469)
The footer file was being written in dev/bot instead of dev/docs. Bug: https://github.com/flutter/flutter/issues/113805
This commit is contained in:
parent
33b81ed954
commit
0186b1496b
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ Future<void> postProcess() async {
|
|||
final File versionFile = File('version');
|
||||
final String version = versionFile.readAsStringSync();
|
||||
// Recreate footer
|
||||
final String publishPath = path.join(docsPath, 'doc', 'api', 'footer.js');
|
||||
final String publishPath = path.join(docsPath, '..', 'docs', 'doc', 'flutter', 'footer.js');
|
||||
final File footerFile = File(publishPath)..createSync(recursive: true);
|
||||
createFooter(footerFile, version);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue