Skip to content

Commit adb1e30

Browse files
authored
Use shortcut properties (#129)
Use shortcut properties
2 parents c3733ef + 5a4ae0a commit adb1e30

File tree

1 file changed

+2
-2
lines changed
  • packages/@netlify-build/src/build

1 file changed

+2
-2
lines changed

packages/@netlify-build/src/build/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ const runInstruction = async function({
344344
// https://github.com/netlify/cli-utils/blob/master/src/index.js#L40-L60
345345
const pluginReturnValue = await method({
346346
/* Netlify configuration file netlify.[toml|yml|json] */
347-
netlifyConfig: netlifyConfig,
347+
netlifyConfig,
348348
/* Plugin configuration */
349349
pluginConfig: config,
350350
/* Netlify API client */
@@ -382,7 +382,7 @@ const runInstruction = async function({
382382
}
383383
},
384384
/* Error for `onError` handlers */
385-
error: error
385+
error
386386
})
387387
console.log()
388388
endTimer({ context: name.replace('config.', ''), hook }, methodTimer)

0 commit comments

Comments
 (0)