Skip to content

Commit

Permalink
Remove hardcoded arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
byxor committed May 23, 2021
1 parent fceeda8 commit 6969398
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/ns/ns.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,15 @@ type CommandLineArguments struct {
func main() {
arguments := ParseCommandLineArguments()
// Hardcoded arguments for testing:
if len(os.Args) == 1 {
/* if len(os.Args) == 1 {
*arguments.FileToCompile = "C:\\Users\\Brandon\\Desktop\\mod\\foo.ns" // build/PRE3,thugpro_qb.prx/qb/_mods/byxor_debug.qb"
*arguments.ShowCode = true
RunNeverscript(arguments)
*arguments.FileToCompile = ""
*arguments.FileToDecompile = "C:\\Users\\Brandon\\Desktop\\mod\\foo.qb" // build/PRE3,thugpro_qb.prx/qb/_mods/byxor_debug.qb"
*arguments.ShowCode = true
*arguments.OutputFileName = "nul"
}
} */
RunNeverscript(arguments)
}

Expand Down

0 comments on commit 6969398

Please sign in to comment.