Skip to content
This repository was archived by the owner on Dec 11, 2020. It is now read-only.
This repository was archived by the owner on Dec 11, 2020. It is now read-only.

lib/straux attempt to index a local 'str' (a nil value) #1

@markuman

Description

@markuman
Lua 5.1.5  Copyright (C) 1994-2012 Lua.org, PUC-Rio
> autoswagger = require 'autoswagger.init'
> brain = autoswagger.Brain:new()
> brain:learn('GET', 'google.com', '/users/1/app/5')
./autoswagger/lib/straux.lua:8: attempt to index local 'str' (a nil value)
stack traceback:
	./autoswagger/lib/straux.lua:8: in function 'split'
	./autoswagger/lib/straux.lua:19: in function 'tokenize'
	./autoswagger/host.lua:99: in function 'insert_path'
	./autoswagger/host.lua:138: in function 'add_path'
	./autoswagger/host.lua:229: in function <./autoswagger/host.lua:228>
	(tail call): ?
	stdin:1: in main chunk
	[C]: ?
> 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions