Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
juuust-icon
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lift.hurley
juuust-icon
Commits
9e0bcd2d
Commit
9e0bcd2d
authored
Aug 16, 2019
by
Jun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
check dir exist
parent
af7eb0b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
build.js
bin/build.js
+3
-3
No files found.
bin/build.js
View file @
9e0bcd2d
...
...
@@ -18,9 +18,9 @@ const iconsDir = path.join(rootDir, 'src/icons')
const
generateIndex
=
()
=>
{
if
(
!
fs
.
existsSync
(
srcDir
))
{
fs
.
mkdirSync
(
srcDir
)
if
(
!
fs
.
existsSync
(
iconsDir
))
{
fs
.
mkdirSync
(
iconsDir
)
}
fs
.
mkdirSync
(
iconsDir
)
}
else
if
(
!
fs
.
existsSync
(
iconsDir
))
{
fs
.
mkdirSync
(
iconsDir
)
}
const
initialTypeDefinitions
=
`/// <reference types="react" />
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment