Skip to content

Commit

Permalink
update icons script
Browse files Browse the repository at this point in the history
  • Loading branch information
codecalm committed Mar 14, 2024
1 parent d6d0dd6 commit acda1fd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .build/update-icons.mjs
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import { globSync, glob } from 'glob'
import { globSync } from 'glob'
import fs from 'fs'
import path from 'path'
import { ICONS_SRC_DIR, getMaxUnicode, getArgvs, getPackageJson } from './helpers.mjs'

const argv = getArgvs(),
newVersion = argv['new-version']
pkg = getPackageJson(),
newVersion = argv['new-version'] || pkg.version

const files = globSync(path.join(ICONS_SRC_DIR, '**/*.svg'))

Expand Down

0 comments on commit acda1fd

Please sign in to comment.