Skip to content

Commit 830e1d0

Browse files
committed
Space
1 parent 54a4e34 commit 830e1d0

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

packages/flutterfire_cli/lib/src/firebase.dart

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ Future<bool> npxExists() async {
5656
return _npxExistsCache = process.exitCode == 0;
5757
}
5858

59-
6059
/// Tries to read the default Firebase project id from the
6160
/// .firbaserc file at the root of the dart project if it exists.
6261
Future<String?> getDefaultFirebaseProjectId() async {
@@ -99,8 +98,8 @@ Future<Map<String, dynamic>> runFirebaseCommand(
9998
if (!cliExists) {
10099
// If the CLI isn't installed, we can attempt to run it via npx which will
101100
// use the newest Firebase CLI version
102-
final npxExists = await npxExists();
103-
if (!npxExists) {
101+
final npxCliExists = await npxExists();
102+
if (!npxCliExists) {
104103
throw FirebaseCommandException(
105104
'--version',
106105
logMissingFirebaseCli,
@@ -112,7 +111,7 @@ Future<Map<String, dynamic>> runFirebaseCommand(
112111
];
113112
process = await Process.run(
114113
'npx',
115-
execArgs,
114+
npxExecArgs,
116115
workingDirectory: workingDirectoryPath,
117116
environment: {
118117
if (serviceAccount != null)

0 commit comments

Comments
 (0)