added node-fetch
This commit is contained in:
2
index.js
2
index.js
@@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
import { execSync } from "child_process";
|
import { execSync } from "child_process";
|
||||||
import inquirer from "inquirer";
|
import inquirer from "inquirer";
|
||||||
|
import fetch from "node-fetch";
|
||||||
|
|
||||||
let OPENAI_API_KEY = process.env.OPENAI_API_KEY;
|
let OPENAI_API_KEY = process.env.OPENAI_API_KEY;
|
||||||
|
|
||||||
async function main() {
|
async function main() {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "aicommits",
|
"name": "aicommits",
|
||||||
"version": "0.0.7",
|
"version": "0.0.8",
|
||||||
"description": "Writes your git commit messages for you with AI",
|
"description": "Writes your git commit messages for you with AI",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
|
|||||||
Reference in New Issue
Block a user