Remove a heading at the top of the readme

pull/85/head
Ruben Daniels 2015-04-28 22:16:55 +00:00
rodzic 329de70a02
commit 3bbff9b45b
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -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 = {};