Skip to content

Commit 6dd03cb

Browse files
author
Fatme
authored
Merge pull request #3468 from NativeScript/fatme/skip-env-check
Add environment variable that skip env check
2 parents 8877253 + 12e2ef5 commit 6dd03cb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/services/platform-environment-requirements.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ export class PlatformEnvironmentRequirements implements IPlatformEnvironmentRequ
2525
};
2626

2727
public async checkEnvironmentRequirements(platform: string): Promise<boolean> {
28+
if (process.env.SKIP_ENV_CHECK) {
29+
return true;
30+
}
31+
2832
const canExecute = await this.$doctorService.canExecuteLocalBuild(platform);
2933
if (!canExecute) {
3034
if (!isInteractive()) {

0 commit comments

Comments
 (0)