fix: use join to comply with other os

This commit is contained in:
Tianhao Zhou
2020-04-13 14:41:49 -07:00
committed by GitHub
parent 6ebddd1b83
commit 9d3762c82e

View File

@@ -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 {