mirror of
https://github.com/tiennm99/is-a-good-dev.git
synced 2026-10-13 22:16:02 +00:00
Update import.
This commit is contained in:
1 parent
2472c931ec
commit
f56f768905
1 file changed
+1
-4
+1
-4
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user