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
+1 -1
View File
File diff suppressed because one or more lines are too long
+7 -1
View File
@@ -60,7 +60,13 @@ import * as semver from "semver";
let hasChangesets = fs let hasChangesets = fs
.readdirSync(`${process.cwd()}/.changeset`) .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`)); console.log(fs.readdirSync(`${process.cwd()}/.changeset`));