kopia lustrzana https://github.com/c9/core
Remove a heading at the top of the readme
rodzic
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 = {};
|
||||
|
|
Ładowanie…
Reference in New Issue