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
In the spirit of log, fail, copy, delete, might be nice to shorten up runProcess, runProcessAsync, and runDartScript. run / runAsync seems clear enough to me without Process:
run('dart', ['--version'])
For runDartScript we could crib off of e.g. Pub.run, Dart2js.compile, etc. and have a Dart.run.
shorten up runProcess, ==> run('dart', ['--version'])
sgtm!
and have a Dart.run. Dart.run('tool/foo.dart')
also sgtm!
These are changes which we'd easily be able to deprecate the older method, and forward through to the newer ones. So, a it could be a relatively painless transition for users.
In the spirit of
log
,fail
,copy
,delete
, might be nice to shorten uprunProcess
,runProcessAsync
, andrunDartScript
.run
/runAsync
seems clear enough to me withoutProcess
:run('dart', ['--version'])
For
runDartScript
we could crib off of e.g.Pub.run
,Dart2js.compile
, etc. and have aDart.run
.Dart.run('tool/foo.dart')
@devoncarew
The text was updated successfully, but these errors were encountered: