fix(create-discord-bot): add shebang in main file (#9747)

* fix: no running in cmd

Co-authored-by: ROB0520 <ynoreyesminecraft@gmail.com>

* chore: delete in create-discord-bot file

---------

Co-authored-by: ROB0520 <ynoreyesminecraft@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
Jaw0r3k 2023-08-09 11:48:58 +02:00 committed by GitHub
parent cf72d42ea5
commit 99194fc270
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,3 @@
#!/usr/bin/env node
// eslint-disable-next-line n/shebang
import { cp, stat, mkdir, readdir, readFile, writeFile } from 'node:fs/promises';
import path from 'node:path';
import process from 'node:process';

View file

@ -1,3 +1,6 @@
#!/usr/bin/env node
// eslint-disable-next-line n/shebang
import { program } from 'commander';
import prompts from 'prompts';
import { createDiscordBot } from './create-discord-bot.js';