Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add github template #1276

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix tests
  • Loading branch information
Fil committed Apr 23, 2024
commit 37cb0956b5edfba437f87ed56f946605dbfcadc0
4 changes: 2 additions & 2 deletions src/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ export async function create(effects: CreateEffects = defaultEffects): Promise<v
);
if (GITHUB_TOKEN) {
s.message("Saving your parameters in the .env file");
const env = makeGitHubTemplateEnv(GITHUB_TOKEN, GITHUB_ORG_REPOS);
await writeFile(join(rootPath, ".env"), env);
const env = makeGitHubTemplateEnv(GITHUB_TOKEN as string, GITHUB_ORG_REPOS);
await effects.writeFile(join(rootPath, ".env"), env);
}
if (packageManager) {
s.message(`Installing dependencies via ${packageManager}`);
Expand Down
Loading