You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 7, 2023. It is now read-only.
I have a function in my .bash_profile that is exported.
foo() {
~/bar "$@"
}
export -f foo
For some reason this causes linter-luacheck to throw the following error:
[Linter] Error running Luacheck Error: /bin/sh: foo: line 1: syntax error: unexpected end of file
/bin/sh: error importing function definition for `foo'
at ChildProcess.<anonymous> (/Users/robert/.atom/packages/linter-luacheck/node_modules/sb-exec/lib/index.js:56:20)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Socket.stream.socket.on (internal/child_process.js:346:11)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at Pipe._handle.close [as _onclose] (net.js:554:12)
I have a function in my .bash_profile that is exported.
For some reason this causes linter-luacheck to throw the following error: