mirror of
https://github.com/sern-handler/cli
synced 2026-06-28 02:32:20 +00:00
chore(release): 0.1.3
This commit is contained in:
@@ -10,7 +10,9 @@ const extraFolder = fileURLToPath(extraURL);
|
||||
export async function create(name, lang, location, no_ext) {
|
||||
const file = `${name}.${lang}.sern`;
|
||||
|
||||
const target = no_ext ? `${location}/${name}` : `${location}/${name}.${lang}`;
|
||||
const target = no_ext
|
||||
? `${location}/${name}`
|
||||
: `${location}/${name}.${lang}`;
|
||||
|
||||
return createFile(file, target);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user