Tests for registry-cli #32

Closed
0xmuralik wants to merge 23 commits from murali/tests into main
Showing only changes of commit cf978e4490 - Show all commits

View File

@ -9,7 +9,6 @@ export const updateRecord = (filePath: string) => {
const resolvedFilePath = path.resolve(process.cwd(), filePath); const resolvedFilePath = path.resolve(process.cwd(), filePath);
const file = fs.readFileSync(resolvedFilePath, 'utf-8') const file = fs.readFileSync(resolvedFilePath, 'utf-8')
const data = yaml.load(file) as any; const data = yaml.load(file) as any;
console.log("Data====",data)
data.record.version=semver.inc(data.record.version, 'patch'); data.record.version=semver.inc(data.record.version, 'patch');