Unverified Commit 0186b149 authored by godofredoc's avatar godofredoc Committed by GitHub

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
parent 33b81ed9
...@@ -65,7 +65,7 @@ Future<void> postProcess() async { ...@@ -65,7 +65,7 @@ Future<void> postProcess() async {
final File versionFile = File('version'); final File versionFile = File('version');
final String version = versionFile.readAsStringSync(); final String version = versionFile.readAsStringSync();
// Recreate footer // 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); final File footerFile = File(publishPath)..createSync(recursive: true);
createFooter(footerFile, version); createFooter(footerFile, version);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment