auto-git:
[change] main.js
This commit is contained in:
2
main.js
2
main.js
@@ -1,6 +1,7 @@
|
|||||||
const { app, BrowserWindow, ipcMain, dialog, Menu, shell, clipboard } = require('electron');
|
const { app, BrowserWindow, ipcMain, dialog, Menu, shell, clipboard } = require('electron');
|
||||||
app.name = 'Auto-Git';
|
app.name = 'Auto-Git';
|
||||||
const { exec } = require('child_process');
|
const { exec } = require('child_process');
|
||||||
|
const { spawn } = require('child_process');
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
const Store = require('electron-store');
|
const Store = require('electron-store');
|
||||||
@@ -288,7 +289,6 @@ function parseLLMCommitMessages(rawOutput) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
const { spawn } = require('child_process');
|
|
||||||
|
|
||||||
async function squashCommitMessages(repoPath, commitMessage, hashes) {
|
async function squashCommitMessages(repoPath, commitMessage, hashes) {
|
||||||
const git = simpleGit(repoPath);
|
const git = simpleGit(repoPath);
|
||||||
|
|||||||
Reference in New Issue
Block a user