fix: don't switch template file name yet

This commit is contained in:
AJ ONeal
2023-11-07 03:24:09 -07:00
parent 90aafc1df1
commit ffba40507e
+2 -2
View File
@@ -56,7 +56,7 @@ Releases.renderBash = async function (
};
var pkgFile = rel.filename || rel.name;
let tplTxt = await fs.promises.readFile(
path.join(__dirname, 'install-package.tpl.sh'),
path.join(__dirname, 'template.sh'),
'utf8',
);
// ex: 'node@lts' or 'node'
@@ -174,7 +174,7 @@ Releases.renderPowerShell = async function (
};
*/
let tplTxt = await fs.promises.readFile(
path.join(__dirname, 'install-package.tpl.ps1'),
path.join(__dirname, 'template.ps1'),
'utf8',
);
var pkgver = pkg + '@' + ver;