Skip to content

Commit e976ee6

Browse files
committed
can I code???
1 parent bef7b95 commit e976ee6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/gatsby/src/utils/api-runner-node.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,10 @@ module.exports = async (api, args = {}, pluginSource) =>
144144

145145
apisRunning.push(apiRunInstance)
146146

147+
let pluginName = null
147148
mapSeries(
148149
noSourcePluginPlugins,
149150
(plugin, callback) => {
150-
let pluginName = null
151151
if (plugin.name === `default-site-plugin`) {
152152
pluginName = `gatsby-node.js`
153153
} else {

0 commit comments

Comments
 (0)