Skip to content

Commit

Permalink
remove "cloned from" from op changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
steam0r committed May 17, 2024
1 parent 4bdcd9b commit a859a6a
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions shared/api/utils/shared_ops_util.js
Original file line number Diff line number Diff line change
Expand Up @@ -2434,13 +2434,6 @@ export default class SharedOpsUtil extends SharedUtil
if (newJson.hasOwnProperty("youtubeid")) delete newJson.youtubeid;
if (newJson.hasOwnProperty("youtubeids")) delete newJson.youtubeids;

newJson.changelog.push(
{
"message": "cloned op from " + oldName,
"author": user.username,
"date": Date.now()
});

jsonfile.writeFileSync(newJsonFile, newJson, {
"encoding": "utf-8",
"spaces": 4
Expand Down

0 comments on commit a859a6a

Please sign in to comment.