From 8c8cdbba8cceb4fcb6d763ef0b132dad0f1a2585 Mon Sep 17 00:00:00 2001 From: Jonathan Samines Date: Wed, 1 Apr 2026 14:42:39 -0600 Subject: [PATCH 1/2] chore: remove unused imports --- lib/utils.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/utils.js b/lib/utils.js index 68e3f4b..c869426 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -1,6 +1,3 @@ -var path = require('path'), - fs = require('fs'); - var templates = { 'encrypted-key': require('./templates/encrypted-key.tpl.xml'), 'keyinfo': require('./templates/keyinfo.tpl.xml'), From 4ca21a514440da86274265dec08f3d8c02cb0bc2 Mon Sep 17 00:00:00 2001 From: Jonathan Samines Date: Wed, 1 Apr 2026 14:43:09 -0600 Subject: [PATCH 2/2] chore: use explicit extensions to load templates --- lib/utils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/utils.js b/lib/utils.js index c869426..995da0d 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -1,6 +1,6 @@ var templates = { - 'encrypted-key': require('./templates/encrypted-key.tpl.xml'), - 'keyinfo': require('./templates/keyinfo.tpl.xml'), + 'encrypted-key': require('./templates/encrypted-key.tpl.xml.js'), + 'keyinfo': require('./templates/keyinfo.tpl.xml.js'), }; function renderTemplate(file, data) {