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
I upgraded cake version 0.15.2 to 0.17.0
When I run build.ps1 I get the error "Error: Unknown token".
This error occured in 0.16.0 or later version.
Probably because Cake.Core.IO.Globbing.GlobTokenizer.ScanToken() doesn't allow multibyte characters in the directory.
What is Expected?
Cake scripts should work.
What version of Cake are you using?
0.17.0
Are you running on a 32 or 64 bit system?
tested both
What environment are you running on? Windows? Linux? Mac?
Windows
Are you running on a CI Server? If so, which one?
No.
How Did You Get This To Happen? (Steps to Reproduce)
Put any src in a directory that has multibyte characters in the path.
Then build the src using cake scripts.
mkdir C:\マルチバイト
cd C:\マルチバイト
git clone https://github.com/cake-build/example
cd example
.\build.ps1
This error occurs when cake script uses some tools and tries to get them by default pattern(.exe, .dll). Cake.Core.IO.Globbing.GlobTokenizer.ScanToken() allows characters that match following Regex pattern. ^[0-9a-zA-Z\\+&%!@(). _-]$
Why are multibyte characters not allowed here?
Non-Western people often uses multibyte characters as a repository name. So very confused with this breaking change...
What You Are Seeing?
I upgraded cake version 0.15.2 to 0.17.0
When I run build.ps1 I get the error "Error: Unknown token".
This error occured in 0.16.0 or later version.
Probably because Cake.Core.IO.Globbing.GlobTokenizer.ScanToken() doesn't allow multibyte characters in the directory.
What is Expected?
Cake scripts should work.
What version of Cake are you using?
0.17.0
Are you running on a 32 or 64 bit system?
tested both
What environment are you running on? Windows? Linux? Mac?
Windows
Are you running on a CI Server? If so, which one?
No.
How Did You Get This To Happen? (Steps to Reproduce)
Put any src in a directory that has multibyte characters in the path.
Then build the src using cake scripts.
Output Log
The text was updated successfully, but these errors were encountered: