-
Notifications
You must be signed in to change notification settings - Fork 338
Closed
Labels
in commandsRelates to commands (usually invoked from the command Palette)Relates to commands (usually invoked from the command Palette)is non-functional
Milestone
Description
Line 142 in 5b97e7a
| private runPubInFolder(folder: string, command: string, shortPath: string): Thenable<number> { |
When invoking pub, please set the PUB_ENVIRONMENT environment variable to vscode.dart-code.
This helps us track how pub is being invoked.
A couple of notes:
-
If
PUB_ENVIRONMENTis already set, please amend your value w/ a:. Soexisting.value:vscode.dart-code -
When running tests, pass in a environment variable so we can know any hits to the pub site or via a test. Our convention is to use
botin the value. So for youdart-code.test.bot
Yes, I'd love the same model for invoking pub via flutter – so any call to flutter packages. I'll file a separate bug at https://github.com/Dart-Code/Flutter
Metadata
Metadata
Assignees
Labels
in commandsRelates to commands (usually invoked from the command Palette)Relates to commands (usually invoked from the command Palette)is non-functional