mirror of
https://github.com/changesets/action
synced 2026-10-26 16:39:56 +08:00
Fix the thing
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -60,10 +60,7 @@ import * as semver from "semver";
|
|||||||
|
|
||||||
let hasChangesets = fs
|
let hasChangesets = fs
|
||||||
.readdirSync(`${process.cwd()}/.changeset`)
|
.readdirSync(`${process.cwd()}/.changeset`)
|
||||||
.some(
|
.some(x => x !== "README.md" && x !== "config.js" && x !== "config.json");
|
||||||
x =>
|
|
||||||
x !== "README.md" && (x.endsWith(".md") || x.endsWith("changes.json"))
|
|
||||||
);
|
|
||||||
|
|
||||||
console.log(fs.readdirSync(`${process.cwd()}/.changeset`));
|
console.log(fs.readdirSync(`${process.cwd()}/.changeset`));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user