From e886a1ee0bbb824dc83bbc9dc472ce92ab1a83f3 Mon Sep 17 00:00:00 2001 From: Thomas Boerger Date: Tue, 4 Jun 2024 15:01:45 +0200 Subject: [PATCH] fix: correctly import semantic errors --- lib/verify.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/verify.js b/lib/verify.js index b67b1b9..be86275 100644 --- a/lib/verify.js +++ b/lib/verify.js @@ -2,10 +2,11 @@ import path from "node:path"; import { readFile, writeFile } from "node:fs/promises"; import { execa } from "execa"; -import { SemanticReleaseError } from "@semantic-release/error"; import { glob } from "glob"; import { versionRegex } from "./common.js"; +import SemanticReleaseError from "@semantic-release/error"; + const loadGemspec = async ({ cwd }) => { const gemSpecs = await glob("*.gemspec", { cwd });