Skip to content
This repository was archived by the owner on Oct 20, 2022. It is now read-only.

Commit adaadbb

Browse files
committed
Upgrade to latest @netlify/config
1 parent 5940099 commit adaadbb

File tree

3 files changed

+290
-18
lines changed

3 files changed

+290
-18
lines changed

netlify-config-parser.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ const {
77
} = require('./common')
88
const resolveConfig = require('@netlify/config')
99

10-
async function parse(filePath) {
10+
async function parse(configPath) {
1111
const result = new Result()
12-
const { config } = await resolveConfig(filePath)
12+
const { config } = await resolveConfig({ config: configPath })
1313

1414
if (!Array.isArray(config.redirects)) {
1515
return result

0 commit comments

Comments
 (0)