Skip to content

Commit e481082

Browse files
author
Simen Daehlin
committed
fix(pacakge.json): fixed wrong path for providers
1 parent 21c9141 commit e481082

File tree

11 files changed

+525
-16
lines changed

11 files changed

+525
-16
lines changed

cli/reset.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const {
77
setConfig,
88
config
99
} = require(`../utils`);
10-
const { destroyHerokuApp } = require(`../heroku`);
10+
const { destroyHerokuApp } = require(`../providers/heroku`);
1111
const prompts = require(`prompts`);
1212

1313
const FILES_TO_REMOVE = [

core/copyFiles.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const { spinner, chalk, copyFile, config } = require(`../utils`);
33
const copyHerokuFiles = async () => {
44
spinner.start(` 🚀 Creating heroku.yml depoyment file`);
55
await copyFile(
6-
`${config.providersDir}/${config.provider}/${config.provider}.yml`,
6+
`${config.providersDir}/${config.provider}/templates/${config.provider}.yml`,
77
`${config.outDir}/${config.provider}.yml`
88
);
99
spinner.stopAndPersist({

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const {
1818
detectProjectType,
1919
config
2020
} = require(`./utils`);
21-
const { herokuSetup, useTool } = require(`./heroku`);
21+
const { herokuSetup, useTool } = require(`./providers/heroku`);
2222
const { installDependecies, copyHerokuFiles, configSetup } = require(`./core`);
2323

2424
const input = cli.input;

0 commit comments

Comments
 (0)