Open Dynesshely opened 7 months ago
And I'm gussing is the createTarGz function doesn't think the path with %20 is not equals to ?
Yeah - but where does %20
come from in the first place? I don't remember doing any url-encoding of paths when publishing.
It seems the first ' ' in the path is left untouched...
Would be great if you could make a reproduction I could look at.
It's very strange when I'm tring to reproduce this.
I created a new dart package with dart create -t package <PACKAGE_NAME>
in a directory which is under a path with space.
And in this package, the dart pub publish --dry-run
succeed without any trouble.
But back to https://github.com/Crequency/KitX-Standard/tree/dev%3Dmain/KitX%20Shared/KitX.Shared.Dart/kitx_shared_dart , I cloned this with a new environment, but it failed again.
And I found no difference (except pure dart code logic) on two package.
I can reproduce locally with https://github.com/Crequency/KitX-Standard/tree/dev%3Dmain/KitX%20Shared/KitX.Shared.Dart/kitx_shared_dart
Will try to investigate
Environment
dart --version
):Problem
When run
dart pub publish
, the console output error is:And I'm gussing is the
?
createTarGz
function doesn't think the path with%20
is not equals toMy project yaml file is:
Expected behavior
The library will be normally publish to pub.dev
Actual behavior
Failed at compressing.
--trace output
I attached the
pub_log.txt
pub_log.txt