Skip to content

Commit

Permalink
fix(doctor): Cannot read property 'toLowerCase' of null (#5604)
Browse files Browse the repository at this point in the history
The `ns doctor android` command was failing because null was being passed as
`platform` to `PlatformEnvironmentRequirements.getEnvVerificationMessage()`
  • Loading branch information
sryze committed Dec 8, 2021
1 parent 289317d commit 0be52e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/services/doctor-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export class DoctorService implements IDoctorService {
"platformEnvironmentRequirements"
)
.checkEnvironmentRequirements({
platform: null,
platform: configOptions.platform,
projectDir: configOptions.projectDir,
runtimeVersion: configOptions.runtimeVersion,
options: configOptions.options,
Expand Down

0 comments on commit 0be52e9

Please sign in to comment.