remove console.log

This commit is contained in:
0xmuralik 2023-04-03 19:12:25 +05:30
parent 59c709debd
commit cf978e4490

View File

@ -9,8 +9,7 @@ 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');
fs.writeFileSync(resolvedFilePath, yaml.dump(data)); fs.writeFileSync(resolvedFilePath, yaml.dump(data));