Skip to content

Commit c6f01f5

Browse files
committed
append .bat
1 parent baf0b40 commit c6f01f5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/src/package_meta.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ class _FilePackageMeta extends PackageMeta {
9595
void runPubGet() {
9696
String pubPath =
9797
path.join(path.dirname(Platform.resolvedExecutable), 'pub');
98+
if (Platform.isWindows) pubPath += '.bat';
99+
98100
ProcessResult result =
99101
Process.runSync(pubPath, ['get'], workingDirectory: dir.path);
100102

0 commit comments

Comments
 (0)