Skip to content

Commit

Permalink
fix: pofile extracted comments
Browse files Browse the repository at this point in the history
  • Loading branch information
zdm committed Sep 9, 2023
1 parent fbeea7a commit e3612ee
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/get-text.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,11 +147,7 @@ export default class GetText {
if ( !node.arguments?.[0] ) return;
if ( method === "l10nd" && !node.arguments?.[1] ) return;

var id,
pluralId,
isTemplate,
extractedComments,
domain = "test-domain"; // XXX
var id, pluralId, isTemplate, extractedComments, domain;

// single form
const arg = this.#parseCallExpressionArgument( method === "l10nd" ? node.arguments[1] : node.arguments[0], { file, start } );
Expand Down

0 comments on commit e3612ee

Please sign in to comment.