feat: add bounded script version history

This commit is contained in:
whyour committed 2026-10-06 01:36:02 +08:00
1 parent bf63425805
commit ea9461c085
15 files changed
+1958 -66

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ import path from 'path';
import { writeFile, open, chmod } from 'fs/promises';
import { fileExist } from '../config/util';
function getUniqueLockPath(filePath: string) {
export function getUniqueLockPath(filePath: string) {
const sanitizedPath = filePath
.replace(/[<>:"/\\|?*]/g, '_')
.replace(/^_/, '');