private validateLanguage()

in src/handlers/resourceValidator.ts [248:260]


    private validateLanguage(state: StateConstant, context: IActionContext) {
        if (context.os === undefined || context.language === undefined) {
            return;
        }

        // Windows Python is not supported
        if (context.os === RuntimeStackConstant.Windows) {
            if (context.language === FunctionRuntimeConstant.Python) {
                throw new ValidationError(state, 'Function Runtime',
                    "Python Function App on Windows is not yet supported");
            }
        }
    }