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
==> arc
Compiling14files(.ex)warning: variable"asset_host"isunused(ifthevariableisnotmeanttobeused,prefixitwithanunderscore)lib/arc/storage/s3.ex:9warning: System.cwd/0 is deprecated.Use File.cwd/0insteadFound at 2locations:lib/mix/tasks/g.ex:49lib/mix/tasks/g.ex:55warning: functionExAws.request/1isundefined(moduleExAwsisnotavailable)Found at 3locations:lib/arc/storage/s3.ex:30lib/arc/storage/s3.ex:45lib/arc/storage/s3.ex:57warning: functionExAws.Config.new/2isundefined(moduleExAws.Configisnotavailable)lib/arc/storage/s3.ex:82warning: functionExAws.S3.delete_object/2isundefined(moduleExAws.S3isnotavailable)lib/arc/storage/s3.ex:29warning: functionExAws.S3.presigned_url/5isundefined(moduleExAws.S3isnotavailable)lib/arc/storage/s3.ex:85warning: functionExAws.S3.put_object/4isundefined(moduleExAws.S3isnotavailable)lib/arc/storage/s3.ex:44warning: functionExAws.S3.upload/4isundefined(moduleExAws.S3isnotavailable)lib/arc/storage/s3.ex:56warning: functionExAws.S3.Upload.stream_file/1isundefined(moduleExAws.S3.Uploadisnotavailable)lib/arc/storage/s3.ex:55Generatedarcapp
First it seems that when the S3 functionality is not needed then it shouldn't be compiled in. Simply wrapping the modules with an if test of if the ExAws module is found or not along with an optional dependency on it so ExAws gets compiled first will fix 'most' of those. Another is an unused binding big and a deprecation.
The text was updated successfully, but these errors were encountered:
Environment
arc 0.11.0 (Hex package) (mix)
arc_ecto 0.11.1 (Hex package) (mix)
(not applicable however)Expected behavior
Compiles cleanly
Actual behavior
Gives these warnings:
First it seems that when the S3 functionality is not needed then it shouldn't be compiled in. Simply wrapping the modules with an
if
test of if theExAws
module is found or not along with an optional dependency on it soExAws
gets compiled first will fix 'most' of those. Another is an unused binding big and a deprecation.The text was updated successfully, but these errors were encountered: