This repository was archived by the owner on Aug 7, 2023. It is now read-only.
This repository was archived by the owner on Aug 7, 2023. It is now read-only.
Issue with .bash_profile #47
Open
Description
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)
Metadata
Metadata
Assignees
Labels
No labels