Skip to content

Commit

Permalink
fix(manager): fix patch not working (#735)
Browse files Browse the repository at this point in the history
  • Loading branch information
undefined-moe authored Jun 29, 2022
1 parent fb0d0da commit fc30acc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion plugins/frontend/manager/client/settings/tree.vue
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ function handleDrop(source: Node, target: Node, position: 'before' | 'after' | '
const segments2 = ctxPath ? ctxPath.split(separator) : []
segments2.push(segments1.pop())
setPath(oldPath, segments2.join('/'))
;/(?<!dsa)/
}
function getClass(tree: Tree) {
Expand Down
2 changes: 1 addition & 1 deletion plugins/frontend/manager/src/installer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class Installer extends DataService<Dict<Dependency>> {

installDep = async (deps: Dict<string>) => {
const agent = which()?.name || 'npm'
const oldPayload = this.get()
const oldPayload = await this.get()
await this.override(deps)
const args: string[] = []
if (agent !== 'yarn') args.push('install')
Expand Down

0 comments on commit fc30acc

Please sign in to comment.