Skip to content

Commit

Permalink
fix: target used before initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
luthfimasruri committed Mar 28, 2021
1 parent b576f8d commit 9835232
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/vue-quill/src/assets/snow.styl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ backgroundColor = #fff
inactiveColor = #4B5563
shadowColor = #D1D5DB
textColor = #4B5563
// Additional color
// Additional colors
backgroundHoverColor = #F3F4F6
backgroundActiveColor = #DBEAFE

Expand Down
3 changes: 1 addition & 2 deletions scripts/semantic-release.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ const args = require('minimist')(process.argv.slice(2))
const targets = args._

if (process.env.CI && targets[0]) {
const rootDir = path.resolve(__dirname, '..')
const pkgDir = path.resolve(__dirname, '../packages', target)
const target = targets[0]
const pkgDir = path.resolve(__dirname, '../packages', target)
const distDir = path.resolve(pkgDir, 'dist')
const semanticReleaseConfig = path.resolve(pkgDir, 'semantic-release.json')
execa.sync('cd', [pkgDir])
Expand Down

0 comments on commit 9835232

Please sign in to comment.