Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
leoafarias committed Apr 8, 2021
1 parent 1dcebd0 commit ed859af
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 27 deletions.
26 changes: 0 additions & 26 deletions lib/constants.dart
Original file line number Diff line number Diff line change
Expand Up @@ -48,31 +48,5 @@ String get kFvmHome {
return join(kUserHome, 'fvm');
}

// /// File for FVM Settings
// File get kFvmSettings {
// return File(join(kFvmHome, '.settings'));
// }

// /// Where Flutter SDK Versions are stored
// Directory get kFvmCacheDir {
// /// Loads settings file
// final settings = SettingsService.readSync();
// if (settings.cachePath != null && settings.cachePath.isNotEmpty) {
// return Directory(normalize(settings.cachePath));
// }
// return Directory(join(kFvmHome, 'versions'));
// }

// /// Directory for Flutter repo git cache
// Directory get kGitCacheDir {
// return Directory(join(kFvmHome, 'git-cache'));
// }

// /// Where Default Flutter SDK is stored
// Link get kGlobalFlutterLink => Link(join(kFvmHome, 'default'));

// /// Path for Default Flutter SDK
// String get kGlobalFlutterPath => join(kGlobalFlutterLink.path, 'bin');

/// Flutter Channels
const kFlutterChannels = ['master', 'stable', 'dev', 'beta'];
2 changes: 1 addition & 1 deletion lib/src/services/cache_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,9 @@ class CacheService {
}
final newPath = join(ctx.globalCacheBinPath, 'flutter');
return GlobalConfigured(
isSetup: newPath == currentPath,
currentPath: currentPath,
newPath: newPath,
isSetup: newPath == currentPath,
);
}
}
Expand Down

0 comments on commit ed859af

Please sign in to comment.