@gesslar/muddy 0.4.0 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/Muddy.js +1 -4
package/package.json
CHANGED
package/src/Muddy.js
CHANGED
|
@@ -142,7 +142,7 @@ export default class Muddy {
|
|
|
142
142
|
|
|
143
143
|
if(await readme.exists) {
|
|
144
144
|
const content = await readme.read()
|
|
145
|
-
mfile.description = append(content, "\n")
|
|
145
|
+
mfile.description = Data.append(content, "\n")
|
|
146
146
|
|
|
147
147
|
glog.info(`No description in 'mfile', will use content from existing README.md`)
|
|
148
148
|
} else {
|
|
@@ -687,9 +687,6 @@ export default class Muddy {
|
|
|
687
687
|
path: Data.prepend(FileSystem.relativeOrAbsolute(projectDirectory, mpackageFile), "/")
|
|
688
688
|
})
|
|
689
689
|
|
|
690
|
-
if(await outputFile.exists)
|
|
691
|
-
await outputFile.delete()
|
|
692
|
-
|
|
693
690
|
await outputFile.write(Data.append(output, "\n"))
|
|
694
691
|
|
|
695
692
|
const size = await outputFile.size()
|