style: prettier

This commit is contained in:
Jacob Nguyen
2022-08-13 12:28:27 -05:00
parent e5c53f19e9
commit 3f7cea2562
2 changed files with 2 additions and 5 deletions

View File

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

View File

@@ -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() {