Skip to content

Instantly share code, notes, and snippets.

@waltarix
Last active December 21, 2022 11:43
Show Gist options
  • Save waltarix/fc15b6a0e2be169bb41248ff1e48a1ee to your computer and use it in GitHub Desktop.
Save waltarix/fc15b6a0e2be169bb41248ff1e48a1ee to your computer and use it in GitHub Desktop.
--- a/lib/dockerSemanticTokens.js
+++ b/lib/dockerSemanticTokens.js
@@ -252,6 +252,8 @@
var onbuild = instruction;
this.createTokensForInstruction(onbuild.getTriggerInstruction());
return;
+ case dockerfile_ast_1.Keyword.RUN:
+ return;
}
this.createArgumentTokens(instruction, args);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment