Use a more definitive name for the config file.

This commit is contained in:
Federico Builes
2022-06-01 13:28:03 +02:00
parent 0b9547aabf
commit 19b36f0933
4 changed files with 6 additions and 3 deletions
+3
View File
@@ -53,4 +53,7 @@ test('it properly filters changes by severity', async () => {
result = filterChangesBySeverity('low', changes)
expect(changes).toEqual([npmChange, rubyChange])
result = filterChangesBySeverity('critical', changes)
expect(changes).toEqual([npmChange, rubyChange])
})
Generated Vendored
+1 -1
View File
@@ -13633,7 +13633,7 @@ const fs = __importStar(__nccwpck_require__(7147));
const yaml_1 = __importDefault(__nccwpck_require__(4083));
const schemas_1 = __nccwpck_require__(1129);
const path_1 = __importDefault(__nccwpck_require__(1017));
exports.CONFIG_FILEPATH = './.github/dep-review.yml';
exports.CONFIG_FILEPATH = './.github/dependency-review.yml';
function readConfigFile(filePath = exports.CONFIG_FILEPATH) {
// By default we want to fail on all severities and allow all licenses.
const defaultOptions = {
Generated Vendored
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -3,7 +3,7 @@ import YAML from 'yaml'
import {ConfigurationOptions, ConfigurationOptionsSchema} from './schemas'
import path from 'path'
export const CONFIG_FILEPATH = './.github/dep-review.yml'
export const CONFIG_FILEPATH = './.github/dependency-review.yml'
export function readConfigFile(
filePath: string = CONFIG_FILEPATH