use root README instead of the one for prebuilt

This commit is contained in:
Vanessa Yuen 2017-08-08 13:12:49 -04:00
parent c8e2e37146
commit 8db0a10372

View file

@ -51,7 +51,7 @@ new Promise((resolve, reject) => {
files.forEach((name) => { files.forEach((name) => {
fs.writeFileSync( fs.writeFileSync(
path.join(tempDir, name), path.join(tempDir, name),
fs.readFileSync(path.join(__dirname, '..', 'npm', name)) fs.readFileSync(path.join(__dirname, '..', name === 'README.md' ? '' : 'npm', name))
) )
}) })
// copy from root package.json to temp/package.json // copy from root package.json to temp/package.json