Skip to content

Commit

Permalink
Added AUTHORS file
Browse files Browse the repository at this point in the history
Added checks against conflicting options when selecting vba code
  • Loading branch information
Monox Gas committed Apr 20, 2017
1 parent 91d5f7e commit 43aa9b6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
James Forshaw (@tiraniddo)
Nick Landers (@monoxgas)
6 changes: 6 additions & 0 deletions DotNetToJScript/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,12 @@ static void Main(string[] args)
Environment.Exit(1);
}

if (vba_code && (scriptlet_moniker || scriptlet_uninstall))
{
Console.Error.WriteLine("Cannot use '-v' in combination with scriplet options.");
Environment.Exit(1);
}

byte[] assembly = File.ReadAllBytes(assembly_path);
try
{
Expand Down

0 comments on commit 43aa9b6

Please sign in to comment.