dev: add dart sdk to path

Adding Flutter bin to the path doesn't expose the dart SDK which many people might be interested in using. For example, dartdoc for documentation generation.
This commit is contained in:
Tianhao Zhou
2020-04-11 18:10:01 -07:00
committed by GitHub
parent f4209dc839
commit a79364fc11

View File

@@ -62,6 +62,7 @@ export async function getFlutter(
core.exportVariable('FLUTTER_HOME', toolPath);
core.addPath(path.join(toolPath, 'bin'));
core.addPath(path.join(toolPath, 'bin/cache/dart-sdk'));
}
function osName(): string {