chore(release): 0.1.3

This commit is contained in:
EvolutionX
2022-06-10 22:40:32 +05:30
parent 310c82f24e
commit 67a0efd1c2
4 changed files with 7 additions and 5 deletions

View File

@@ -2,7 +2,7 @@
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
### [0.1.2](https://github.com/sern-handler/cli/compare/v0.1.1...v0.1.2) (2022-06-10)
### [0.1.3](https://github.com/sern-handler/cli/compare/v0.1.2...v0.1.3) (2022-06-10)
### Features

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "@sern/cli",
"version": "0.1.2",
"version": "0.1.3",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@sern/cli",
"version": "0.1.2",
"version": "0.1.3",
"license": "MIT",
"dependencies": {
"colorette": "^2.0.16",

View File

@@ -1,6 +1,6 @@
{
"name": "@sern/cli",
"version": "0.1.2",
"version": "0.1.3",
"description": "A CLI for @sern/handler",
"exports": "./src/index.js",
"bin": {

View File

@@ -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);
}