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

Commit c9f1cef

Browse files
authored
Merge pull request #9 from netlify/deps/upgrade-config
Upgrade `@netlify/config`
2 parents cc359c5 + adaadbb commit c9f1cef

File tree

3 files changed

+370
-164
lines changed

3 files changed

+370
-164
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)