mirror of
https://github.com/SrIzan10/sern-cli.git
synced 2026-05-01 11:05:17 +00:00
style: prettier
This commit is contained in:
@@ -23,7 +23,6 @@ const { prompt } = prompts;
|
||||
* @param {{ y: string; sync: string; }} flags
|
||||
*/
|
||||
export async function init(flags) {
|
||||
|
||||
let data;
|
||||
let git_init;
|
||||
let pm;
|
||||
|
||||
@@ -2,13 +2,11 @@ import { fetch } from 'undici';
|
||||
import { getLang } from '../utilities/getLang.js';
|
||||
|
||||
function upperCase(string) {
|
||||
if(string === null) {
|
||||
if (string === null) {
|
||||
console.error('Lang property not found!');
|
||||
process.exit(0);
|
||||
}
|
||||
return string === 'typescript'
|
||||
? 'TypeScript'
|
||||
: 'JavaScript';
|
||||
return string === 'typescript' ? 'TypeScript' : 'JavaScript';
|
||||
}
|
||||
|
||||
async function gimmechoices() {
|
||||
|
||||
Reference in New Issue
Block a user