Skip to content

Commit

Permalink
fix(pacakge.json): fixed wrong path for providers
Browse files Browse the repository at this point in the history
  • Loading branch information
Simen Daehlin committed Aug 26, 2022
1 parent 21c9141 commit e481082
Show file tree
Hide file tree
Showing 11 changed files with 525 additions and 16 deletions.
2 changes: 1 addition & 1 deletion cli/reset.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const {
setConfig,
config
} = require(`../utils`);
const { destroyHerokuApp } = require(`../heroku`);
const { destroyHerokuApp } = require(`../providers/heroku`);
const prompts = require(`prompts`);

const FILES_TO_REMOVE = [
Expand Down
2 changes: 1 addition & 1 deletion core/copyFiles.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const { spinner, chalk, copyFile, config } = require(`../utils`);
const copyHerokuFiles = async () => {
spinner.start(` 🚀 Creating heroku.yml depoyment file`);
await copyFile(
`${config.providersDir}/${config.provider}/${config.provider}.yml`,
`${config.providersDir}/${config.provider}/templates/${config.provider}.yml`,
`${config.outDir}/${config.provider}.yml`
);
spinner.stopAndPersist({
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const {
detectProjectType,
config
} = require(`./utils`);
const { herokuSetup, useTool } = require(`./heroku`);
const { herokuSetup, useTool } = require(`./providers/heroku`);
const { installDependecies, copyHerokuFiles, configSetup } = require(`./core`);

const input = cli.input;
Expand Down
Loading

0 comments on commit e481082

Please sign in to comment.