Skip to content

Commit

Permalink
shared changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
steam0r committed May 17, 2024
1 parent a859a6a commit 25706c2
Show file tree
Hide file tree
Showing 2 changed files with 378 additions and 0 deletions.
6 changes: 6 additions & 0 deletions shared/api/cables.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,12 @@ export default class Cables extends SharedUtil
return this._config.env;
}

getChangelogLocation()
{
if (this._config.path.changelog) return path.join(this._dirname, this._config.path.changelog);
return path.join(this.getSourcePath(), "../../shared/changelog.json");
}

_createDirectories()
{
if (!fs.existsSync(this.getAssetPath())) mkdirp(this.getAssetPath());
Expand Down
Loading

0 comments on commit 25706c2

Please sign in to comment.