-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.5.4 version fail to generate #99
Comments
facing same issue. now I'm roll back to version 0.5.3 |
Hi, Just to clarify, your key is API_KEY=6690043050= ? EDIT: I have just implemented a fix in #100. Would you mind checking it out and reporting back any findings? |
My key is URL_001=https://my.example.com/path/to/my/file.mp4?param1=value1¶m2=value2 |
@knottx @RahnRazamai can you both please test PR #100 by adding these dependency overrides to your pubspec.yaml dependency_overrides:
envied:
git:
url: https://github.com/petercinibulk/envied.git
ref: fix/issue-99-double-equal-sign
path: packages/envied
envied_generator:
git:
url: https://github.com/petercinibulk/envied.git
ref: fix/issue-99-double-equal-sign
path: packages/envied_generator |
Which has the same problem of multiple equal signs in the same env file line. PR #100 fixes this. |
Tested. it's work fine. 😃 |
its working perfectly now. Thanks for your swift action 🥳 |
Thank you @RahnRazamai and @knottx for testing the change. It will be released in PR #101 as |
I noticed latest version caused something like this to throw error API_KEY=6690043050= the '=' in the value is throwing error. Is it intended? if not can please help to fix?
Below is the error thrown
[SEVERE] envied_generator:envied on lib/keys.dart:
Bad state: Pattern matching error
package:envied_generator/src/parser.dart 42:5 Parser.parseOne
package:envied_generator/src/parser.dart 23:38 Parser.parse
package:envied_generator/src/load_envs.dart 24:17 loadEnvs
package:envied_generator/src/generator.dart 60:9 EnviedGenerator.generateForAnnotatedElement
package:source_gen/src/output_helpers.dart 10:1 normalizeGeneratorOutput
package:async/src/stream_completer.dart 76:3 StreamCompleter.setSourceStream
The text was updated successfully, but these errors were encountered: