From 9d3762c82ed1b59b7c20c1bc8c9e77b41ceb6383 Mon Sep 17 00:00:00 2001 From: Tianhao Zhou Date: Mon, 13 Apr 2020 14:41:49 -0700 Subject: [PATCH] fix: use join to comply with other os --- src/installer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/installer.ts b/src/installer.ts index dea3e3c..4d6b1be 100644 --- a/src/installer.ts +++ b/src/installer.ts @@ -62,7 +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/bin')); + core.addPath(path.join(toolPath, 'bin', 'cache', 'dart-sdk', 'bin')); } function osName(): string {