Skip to content

Commit

Permalink
fix(devins): fix condition to correctly process commands
Browse files Browse the repository at this point in the history
The condition in the DevInsCompiler.kt file was flipped, causing commands with required properties to be incorrectly processed. This has been fixed to correctly handle commands that require properties.
  • Loading branch information
phodal committed Mar 17, 2024
1 parent 71c3d69 commit 84de6c4
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -67,7 +67,7 @@ class DevInsCompiler(private val myProject: Project, val file: DevInFile, val ed
return
}

if (command.requireProps) {
if (!command.requireProps) {
processingCommand(command, "", used, fallbackText = used.text)
return
}
Expand Down

0 comments on commit 84de6c4

Please sign in to comment.