Skip to content

Commit

Permalink
fix citation var name
Browse files Browse the repository at this point in the history
  • Loading branch information
cherriechang committed Aug 26, 2024
1 parent e4edb88 commit 9075953
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion templates/extension-template-ts/src/build-citation.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function cffToJson() {
const cffFilePath = path.join(templateDir, "CITATION.cff");
let cffCitation = fs.readFileSync(cffFilePath, "utf-8").toString();
Cite.async(cffCitation).then((data) => {
const apaJson = JSON.stringify(
const citationJson = JSON.stringify(
data.format("data", {
format: "object",
lang: "en-US",
Expand Down
2 changes: 1 addition & 1 deletion templates/plugin-template-js/src/build-citation.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function cffToJson() {
const cffFilePath = path.join(templateDir, "CITATION.cff");
let cffCitation = fs.readFileSync(cffFilePath, "utf-8").toString();
Cite.async(cffCitation).then((data) => {
const apaJson = JSON.stringify(
const citationJson = JSON.stringify(
data.format("data", {
format: "object",
lang: "en-US",
Expand Down
2 changes: 1 addition & 1 deletion templates/plugin-template-ts/src/build-citation.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function cffToJson() {
const cffFilePath = path.join(templateDir, "CITATION.cff");
let cffCitation = fs.readFileSync(cffFilePath, "utf-8").toString();
Cite.async(cffCitation).then((data) => {
const apaJson = JSON.stringify(
const citationJson = JSON.stringify(
data.format("data", {
format: "object",
lang: "en-US",
Expand Down

0 comments on commit 9075953

Please sign in to comment.