Skip to content

Commit d9d7c8f

Browse files
The type definitions for globby have changed
1 parent 6c04fd7 commit d9d7c8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/normalize-options.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as globby from "globby";
1+
import globby, { hasMagic } from "globby";
22
import { isReleaseType, ReleaseType } from "./release-type";
33
import { VersionBumpOptions } from "./types/version-bump-options";
44

@@ -160,7 +160,7 @@ async function strictGlobMatch(file: string, options: object): Promise<string[]>
160160
let matches = await globby(file, options);
161161

162162
if (matches.length === 0) {
163-
if (globby.hasMagic(file)) {
163+
if (hasMagic(file)) {
164164
throw new Error(`Could not find any files matching "${file}".`);
165165
}
166166
else {

0 commit comments

Comments
 (0)