Skip to content

Commit

Permalink
update build script and cip-0007 to allow site to build (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnysmillie authored and mmahut committed Nov 26, 2020
1 parent daf6e7f commit c587dc5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CIP-0007/CIP-0007.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
CIP: 7
Title: Curve Pledge Benefit
Author: Shawn McMurdo <[email protected]>
Authors: Shawn McMurdo <[email protected]>
Discussions-To:
Comments-Summary:
Comments-URI:
Expand Down
2 changes: 1 addition & 1 deletion scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ function build () {
const cipsDirectory = path.join(__dirname, '..')
const cips = fs.readdirSync(cipsDirectory)
cips.forEach(item => {
if (!item.match(/^CIP[\d]{1,}$/)) return
if (!item.match(/^CIP-[\d][\d][\d][\d]{1,}$/)) return
const assets = fs.readdirSync(path.join(cipsDirectory, item))
assets.forEach(asset => {
const assetPath = path.join(cipsDirectory, item, asset)
Expand Down

0 comments on commit c587dc5

Please sign in to comment.