Try another thing

This commit is contained in:
mitchellhamilton
2019-09-27 09:32:28 +10:00
parent c1f83d3913
commit 6751c54349
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ import * as semver from "semver";
let hasChangesets = fs
.readdirSync(`${process.cwd()}/.changeset`)
.some(x => x !== "config.json" && x !== "config.js" && x !== "README.md");
console.log({ hasChangesets });
console.log(JSON.stringify(fs.readdirSync(`${process.cwd()}/.changeset`)));
let publishScript = core.getInput("publish");
if (!hasChangesets && !publishScript) {