Fix a thing

This commit is contained in:
mitchellhamilton
2019-09-16 18:21:21 +10:00
parent 67d5b6e323
commit 4c85c4a584
2 changed files with 2 additions and 2 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -185,7 +185,7 @@ import * as semver from "semver";
if (shouldBump) { if (shouldBump) {
await exec("git", ["reset", "--hard", github.context.sha]); await exec("git", ["reset", "--hard", github.context.sha]);
let changesetsCliPkgJson = await fs.readJson( let changesetsCliPkgJson = await fs.readJson(
require.resolve("@changesets/cli/package.json") path.join("node_modules", "@changesets", "cli", "package.json")
); );
let cmd = semver.lt(changesetsCliPkgJson.version, "2.0.0") let cmd = semver.lt(changesetsCliPkgJson.version, "2.0.0")
? "bump" ? "bump"