Skip to content

Commit

Permalink
Merge branch 'main' into STAKE-783-fe-unstake-flow-build-unstake-screen
Browse files Browse the repository at this point in the history
  • Loading branch information
amitabh94 authored Oct 3, 2024
2 parents 3dd8a22 + 1943b37 commit 92b1854
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
#!/usr/bin/env node
/* eslint-disable import/no-commonjs, import/no-nodejs-modules, import/no-nodejs-modules, no-console */
const fs = require('fs');
const path = require('path');
import fs from 'fs';
import path from 'path';

const ASSETS_FOLDER = 'assets';
const GENERATED_ASSETS_FILE = 'Icon.assets.ts';
const TYPES_FILE = 'Icon.types.ts';
const ASSET_EXT = '.svg';
const TYPES_CONTENT_TO_DETECT = '// DO NOT EDIT - Use generate-assets.js';

const getIconNameInTitleCase = (fileName) =>
const getIconNameInTitleCase = (fileName: string) =>
path
.basename(fileName, ASSET_EXT)
.split('-')
Expand Down

0 comments on commit 92b1854

Please sign in to comment.