Skip to content

Commit

Permalink
Fix index.js location for non-typescript init.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbleigh committed Jan 19, 2018
1 parent 94af3d0 commit cbf7ccf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/init/features/functions/javascript.js
Expand Up @@ -30,7 +30,7 @@ module.exports = function(setup, config) {
}
return config.askWriteProjectFile('functions/package.json', PACKAGE_NO_LINTING_TEMPLATE);
}).then(function() {
return config.askWriteProjectFile('functions/src/index.js', INDEX_TEMPLATE);
return config.askWriteProjectFile('functions/index.js', INDEX_TEMPLATE);
}).then(function() {
return npmDependencies.askInstallDependencies(setup, config);
});
Expand Down

0 comments on commit cbf7ccf

Please sign in to comment.