Skip to content

Commit

Permalink
fix(utils): remove extra console log
Browse files Browse the repository at this point in the history
  • Loading branch information
Kharya1337 committed Aug 14, 2024
1 parent 32f9f2c commit 4e0ece0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

8 changes: 2 additions & 6 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,7 @@ function globFilePathString(filePath: string): string[] {
return filePath.split(split)
.map(pathString => pathString.trimStart())
.map(pathString => pathString.split(path.sep).join("/"))
.map(pattern => {
console.log(globSync(pattern, { mark: true }));

return globSync(pattern, { mark: true });
})
.map(pattern => globSync(pattern, { mark: true }))
.filter((globResult) => globResult.length)
.reduce((accumulated, current) => accumulated.concat(current), [])
}
Expand Down Expand Up @@ -176,7 +172,7 @@ export async function sign(options: SignOptions) {
}

filePaths.forEach(async (filePath) => {
await sign({
await signFile({
...options,
file: filePath,
});
Expand Down

0 comments on commit 4e0ece0

Please sign in to comment.