{"action":"closed","issue":{"url":"https://api.github.com/repos/dajva/rg.el/issues/68","repository_url":"https://api.github.com/repos/dajva/rg.el","labels_url":"https://api.github.com/repos/dajva/rg.el/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/dajva/rg.el/issues/68/comments","events_url":"https://api.github.com/repos/dajva/rg.el/issues/68/events","html_url":"https://github.com/dajva/rg.el/issues/68","id":536497270,"node_id":"MDU6SXNzdWU1MzY0OTcyNzA=","number":68,"title":"Wrong type argument: stringp, nil","user":{"login":"ForLoveOfCats","id":30666851,"node_id":"MDQ6VXNlcjMwNjY2ODUx","avatar_url":"https://avatars2.githubusercontent.com/u/30666851?v=4","gravatar_id":"","url":"https://api.github.com/users/ForLoveOfCats","html_url":"https://github.com/ForLoveOfCats","followers_url":"https://api.github.com/users/ForLoveOfCats/followers","following_url":"https://api.github.com/users/ForLoveOfCats/following{/other_user}","gists_url":"https://api.github.com/users/ForLoveOfCats/gists{/gist_id}","starred_url":"https://api.github.com/users/ForLoveOfCats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ForLoveOfCats/subscriptions","organizations_url":"https://api.github.com/users/ForLoveOfCats/orgs","repos_url":"https://api.github.com/users/ForLoveOfCats/repos","events_url":"https://api.github.com/users/ForLoveOfCats/events{/privacy}","received_events_url":"https://api.github.com/users/ForLoveOfCats/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2019-12-11T16:57:10Z","updated_at":"2019-12-15T10:35:05Z","closed_at":"2019-12-15T10:35:05Z","author_association":"NONE","body":"When running the simple `(rg-run \"foo\" \"*.baz\" default-directory)` the error `Wrong type argument: stringp, nil` is emitted. This doesn't make much sense as the tests are littered with calls such as this one `(rg-run \"foo\" \"*.baz\" (concat default-directory \"dirlocals\"))`. My local rg.el version is up to date with Melpa (not Melpa stable).\r\n\r\n<br/>\r\n\r\nDebugger trace:\r\n```\r\nDebugger entered--Lisp error: (wrong-type-argument stringp nil)\r\n  string-match(\"[ \\011\\n\\015]+\\\\'\" nil)\r\n  s-trim-right(nil)\r\n  s-trim(nil)\r\n  #f(compiled-function (type-alias) #<bytecode 0x16f6de1>)(\"\")\r\n  mapcar(#f(compiled-function (type-alias) #<bytecode 0x16f6de1>) (\"\" \"agda: *.agda, *.lagda\" \"aidl: *.aidl\" \"amake: *.bp, *.mk\" \"asciidoc: *.adoc, *.asc, *.asciidoc\" \"asm: *.S, *.asm, *.s\" \"asp: *.ascx, *.ascx.cs, *.ascx.vb, *.aspx, *.aspx.cs, *.aspx.cs\" \"ats: *.ats, *.dats, *.hats, *.sats\" \"avro: *.avdl, *.avpr, *.avsc\" \"awk: *.awk\" \"bazel: *.bzl, BUILD, BUILD.bazel, WORKSPACE\" \"bitbake: *.bb, *.bbappend, *.bbclass, *.conf, *.inc\" \"brotli: *.br\" \"buildstream: *.bst\" \"bzip2: *.bz2, *.tbz2\" \"c: *.[chH], *.[chH].in, *.cats\" \"cabal: *.cabal\" \"cbor: *.cbor\" \"ceylon: *.ceylon\" \"clojure: *.clj, *.cljc, *.cljs, *.cljx\" \"cmake: *.cmake, CMakeLists.txt\" \"coffeescript: *.coffee\" \"config: *.cfg, *.conf, *.config, *.ini\" \"cpp: *.[ChH], *.[ChH].in, *.[ch]pp, *.[ch]pp.in, *.[ch]xx, *.[ch]xx.in, *.cc, *.cc.in, *.hh, *.hh.in, *.inl\" \"creole: *.creole\" \"crystal: *.cr, Projectfile\" \"cs: *.cs\" \"csharp: *.cs\" \"cshtml: *.cshtml\" \"css: *.css, *.scss\" \"csv: *.csv\" \"cython: *.pxd, *.pxi, *.pyx\" \"d: *.d\" \"dart: *.dart\" \"dhall: *.dhall\" \"docker: *Dockerfile*\" \"edn: *.edn\" \"elisp: *.el\" \"elixir: *.eex, *.ex, *.exs\" \"elm: *.elm\" \"erlang: *.erl, *.hrl\" \"fidl: *.fidl\" \"fish: *.fish\" \"fortran: *.F, *.F77, *.F90, *.F95, *.f, *.f77, *.f90, *.f95, *.pfo\" \"fsharp: *.fs, *.fsi, *.fsx\" \"gap: *.g, *.gap, *.gd, *.gi, *.tst\" \"gn: *.gn, *.gni\" \"go: *.go\" \"groovy: *.gradle, *.groovy\" \"gzip: *.gz, *.tgz\" ...))\r\n  rg-list-builtin-type-aliases()\r\n  rg-get-type-aliases()\r\n  rg-is-custom-file-pattern(\"*.baz\")\r\n  rg-build-command(\"foo\" \"*.baz\" nil (\"-i\"))\r\n  rg-run(\"foo\" \"*.baz\" \"/home/forloveofcats/Dotfiles/\")\r\n  nav/rg-project()\r\n  (lambda nil (interactive) (nav/disable) (nav/rg-project))()\r\n  funcall-interactively((lambda nil (interactive) (nav/disable) (nav/rg-project)))\r\n  call-interactively((lambda nil (interactive) (nav/disable) (nav/rg-project)) nil nil)\r\n  command-execute((lambda nil (interactive) (nav/disable) (nav/rg-project)))\r\n```"}}
{"actor":{"display_login":"dajva"}}