Create when offline style (#101589)

This commit is contained in:
Jesús S Guerrero
2022-04-11 14:14:05 -05:00
committed by GitHub
parent 63a6e9005d
commit 2302daa3aa
2 changed files with 4 additions and 6 deletions

View File

@@ -40,10 +40,9 @@ class FakePub extends Fake implements Pub {
bool printProgress = true,
}) async {
fs.directory(directory).childFile('.packages').createSync();
if (offline == true){
if (offline == true) {
calledGetOffline += 1;
}
else {
} else {
calledOnline += 1;
}
}