Skip to content
This repository has been archived by the owner on Aug 30, 2022. It is now read-only.

Commit

Permalink
Change directory to client for conditional-canaray install, then retu…
Browse files Browse the repository at this point in the history
…rn to root
  • Loading branch information
Sean Gillespie committed Sep 24, 2021
1 parent a987257 commit 400a1e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion netlify/plugins/conditional-canary/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ module.exports = {
console.log('conditional-canary plugin')
const coreChanges = git.fileMatch('core/**/*')
const coreChanged = coreChanges.edited.length !== 0
const installCanary = 'yarn add @latitudegames/thoth-core@canary'
const installCanary =
'cd client && yarn add @latitudegames/thoth-core@canary && cd ..'
netlifyConfig.build.command = coreChanged
? `${installCanary} && ${netlifyConfig.build.command}`
: netlifyConfig.build.command
Expand Down

0 comments on commit 400a1e4

Please sign in to comment.