Fix things

This commit is contained in:
mitchellhamilton
2019-09-27 17:11:51 +10:00
parent 64ed6e813f
commit c071cbc8d0
2 changed files with 8 additions and 2 deletions
+7 -1
View File
@@ -60,7 +60,13 @@ import * as semver from "semver";
let hasChangesets = fs
.readdirSync(`${process.cwd()}/.changeset`)
.some(x => x !== "README.md" && x !== "config.js" && x !== "config.json");
.some(
x =>
x !== "README.md" &&
x !== "config.js" &&
x !== "config.json" &&
!x.endsWith(".js")
);
console.log(fs.readdirSync(`${process.cwd()}/.changeset`));