diff --git a/src/utils/config.ts b/src/utils/config.ts index ab2c125..0851c53 100644 --- a/src/utils/config.ts +++ b/src/utils/config.ts @@ -2,5 +2,5 @@ export const REPO_BASE_URL = 'https://raw.githubusercontent.com/map3xyz/assets/master'; export const REPO_CLONE_URL = 'git@github.com:map3xyz/assets.git'; -export const DEFAULT_REPO_DISK_LOCATION = './tmp/trustwallet-assets'; +export const DEFAULT_REPO_DISK_LOCATION = './tmp/map3xyz-assets'; export const DEFAULT_TEMP_DIR = './tmp'; \ No newline at end of file diff --git a/src/utils/git.ts b/src/utils/git.ts index ef8e363..ff192e3 100644 --- a/src/utils/git.ts +++ b/src/utils/git.ts @@ -1,8 +1,11 @@ import shell from 'shelljs'; import { NetworkInfo } from '../model/NetworkInfo'; import fs from 'fs'; +import { isDev } from '.'; -shell.set('+v'); +if(isDev()) { + shell.set('+v'); +} export async function commit(repo: string, message: string): Promise { try {