When I use Windows PowerShell to open a Ruby file that contains a script to open a text file and truncate it, brackets will crash. This can either by from opening the file in write mode open(filename, 'w') or with filename.truncate(x).
I have confirmed this has to do with the Todo extension by only having this extension running and performing the test.
Steps to Reproduce
Write a ruby script that involves opening a file in write mode
target = open(filename, 'w')
Run the script in your terminal while having brackets with the Todo extension loaded,
When I use Windows PowerShell to open a Ruby file that contains a script to open a text file and truncate it, brackets will crash. This can either by from opening the file in write mode
open(filename, 'w')
or withfilename.truncate(x)
.I have confirmed this has to do with the Todo extension by only having this extension running and performing the test.
Steps to Reproduce
Write a ruby script that involves opening a file in write mode
target = open(filename, 'w')
Run the script in your terminal while having brackets with the Todo extension loaded,
Boom
Versions
Windows: 10 Brackets: 1.12 Todo: 0.9.7 PowerShell: 5.1.16299.251