mirror of
https://github.com/changesets/action
synced 2026-10-26 16:39:56 +08:00
Fix things
This commit is contained in:
@@ -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`));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user