Skip to content

Commit

Permalink
fixing wrong config dir name
Browse files Browse the repository at this point in the history
  • Loading branch information
pellicceama committed Jul 17, 2022
1 parent 06838ee commit db0479c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/utils/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

export const REPO_BASE_URL = 'https://raw.githubusercontent.com/map3xyz/assets/master';
export const REPO_CLONE_URL = '[email protected]: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';
5 changes: 4 additions & 1 deletion src/utils/git.ts
Original file line number Diff line number Diff line change
@@ -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<void> {
try {
Expand Down

0 comments on commit db0479c

Please sign in to comment.