Update import.

This commit is contained in:
Tweak authored and GitHub committed 2022-11-22 19:57:38 -07:00
1 parent 2472c931ec
commit f56f768905
1 file changed
+1 -4
+1 -4
View File
@@ -1,8 +1,5 @@
const fs = require('fs');
function getFileExtension(filename) {
return (/[.]/.exec(filename)) ? /[^.]+$/.exec(filename) : undefined;
}
const { getFileExtension } = require('./utils.js');
function getJSON(file, filename) {
const path = `${process.env.actions_path}/${file}`; // File path.