Skip to content

Commit

Permalink
Update isbn.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
katydecorah committed Dec 31, 2024
1 parent 720e940 commit cbdbc11
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/providers/isbn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Isbn, { Book } from "@library-pals/isbn";
import { BookParams } from "..";
import { NewBook } from "../new-book";
import { formatDescription, getLibrofmId } from "../utils";
import { exportVariable, getInput, warning } from "@actions/core";
import { exportVariable, getInput, warning, info } from "@actions/core";

export async function getIsbn(
options: BookParams,
Expand Down Expand Up @@ -54,6 +54,9 @@ export function cleanBook(options: BookParams, book: Book): NewBook {
? getLibrofmId(inputIdentifier)
: inputIdentifier;

// Github log "book"
info(JSON.stringify(book));

return {
identifier,
identifiers: {
Expand Down

0 comments on commit cbdbc11

Please sign in to comment.