Update black.coffee

This commit is contained in:
Stephen J Bush 2019-07-22 07:02:29 -05:00 committed by GitHub
parent 1b7d3668d0
commit d4fa72094f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +41,7 @@ module.exports = class Black extends Beautifier
beautify: (text, language, options, context) ->
cwd = context.filePath and path.dirname context.filePath
# `-` as filename reads from stdin
@exe("black").run(["-"], {
cwd: cwd
onStdin: (stdin) ->