Skip to content

Commit

Permalink
fixed plugin dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
cryi committed Jan 7, 2024
1 parent 4c6fc17 commit 9ff16aa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .github/create_definitions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ for i = 1, #packages do

-- if prefixed with plugin: then it's a plugin
local _latestDir = path.combine("ami/definition/", _packageDefPath)
if string.sub(_package, 1, 7) == "plugin:" then
_package = string.sub(_package, 8)
_latestDir = path.combine("ami/plugin/", _package)
if string.sub(_packageDefPath, 1, 7) == "plugin:" then
_packageDefPath = string.sub(_packageDefPath, 8)
_latestDir = path.combine("ami/plugin/", _packageDefPath)
end

fs.mkdirp(_latestDir)
Expand Down
5 changes: 0 additions & 5 deletions ami/definition/plugin:asctl/latest.json

This file was deleted.

5 changes: 0 additions & 5 deletions ami/definition/plugin:asctl/v/0.0.1.json

This file was deleted.

0 comments on commit 9ff16aa

Please sign in to comment.