mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
Remove a heading at the top of the readme
This commit is contained in:
parent
329de70a02
commit
3bbff9b45b
@ -246,7 +246,8 @@ define(function(require, exports, module) {
|
||||
console.warn("WARNING: Description property in package.json will be ignored. README.md will be used.");
|
||||
|
||||
var originalDesc = json.description;
|
||||
json.description = fs.readFileSync(join(cwd, "README.md"), "utf8");
|
||||
json.description = fs.readFileSync(join(cwd, "README.md"), "utf8")
|
||||
.replace(/^\#.*\n*/, "");
|
||||
|
||||
// Validate plugins
|
||||
var plugins = {};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user