diff --git a/packages/flutter_tools/lib/src/vscode/vscode.dart b/packages/flutter_tools/lib/src/vscode/vscode.dart index 3a44c6b241..c4e7125a75 100644 --- a/packages/flutter_tools/lib/src/vscode/vscode.dart +++ b/packages/flutter_tools/lib/src/vscode/vscode.dart @@ -71,7 +71,7 @@ class VsCode { }) { final String packageJsonPath = fileSystem.path.join( installPath, - 'resources', + 'Resources', 'app', 'package.json', ); diff --git a/packages/flutter_tools/test/data/vscode/application/resources/app/package.json b/packages/flutter_tools/test/data/vscode/application/Resources/app/package.json similarity index 100% rename from packages/flutter_tools/test/data/vscode/application/resources/app/package.json rename to packages/flutter_tools/test/data/vscode/application/Resources/app/package.json diff --git a/packages/flutter_tools/test/general.shard/vscode/vscode_test.dart b/packages/flutter_tools/test/general.shard/vscode/vscode_test.dart index 107e72d11a..8fc2891fd4 100644 --- a/packages/flutter_tools/test/general.shard/vscode/vscode_test.dart +++ b/packages/flutter_tools/test/general.shard/vscode/vscode_test.dart @@ -51,7 +51,7 @@ void main() { testWithoutContext('VsCode.fromDirectory does not crash when packages.json is malformed', () { final MemoryFileSystem fileSystem = MemoryFileSystem.test(); // Create invalid JSON file. - fileSystem.file(fileSystem.path.join('', 'resources', 'app', 'package.json')) + fileSystem.file(fileSystem.path.join('', 'Resources', 'app', 'package.json')) ..createSync(recursive: true) ..writeAsStringSync('{');