github-community-projects / github-community-projects/safe-settings

configManager.loadYaml References Unset log

Open
#337 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
921
Forks
226
Avg merge
18h 3m
Merged PRs (30d)
14

Description

## Problem Description

The `lib/configManager.js` file, in the `loadYaml` method, references `this.log.error`. However, `this.log` is never set. That means issues that arise when loading the Yaml file are lost, and instead it reports `TypeError: Cannot read properties of undefined (reading 'error')`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.