From a79364fc11b80eb7502ae27c8d670a3da24bd5a5 Mon Sep 17 00:00:00 2001 From: Tianhao Zhou Date: Sat, 11 Apr 2020 18:10:01 -0700 Subject: [PATCH] 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. --- src/installer.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/installer.ts b/src/installer.ts index e71f2fe..21bf979 100644 --- a/src/installer.ts +++ b/src/installer.ts @@ -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 {