File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ where
141
141
. context ( "SPIN_ALLOW_TRANSIENT_WRITE" ) ?;
142
142
143
143
// TODO(lann): Find a better home for this; spin_loader?
144
- let mut app = if let Some ( manifest_file) = manifest_url. strip_prefix ( "file:// " ) {
144
+ let mut app = if let Some ( manifest_file) = manifest_url. strip_prefix ( "file:" ) {
145
145
let bindle_connection = std:: env:: var ( "BINDLE_URL" )
146
146
. ok ( )
147
147
. map ( |url| BindleConnectionInfo :: new ( url, false , None , None ) ) ;
Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ impl UpCommand {
148
148
149
149
let manifest_url = match app. info . origin {
150
150
spin_manifest:: ApplicationOrigin :: File ( path) => {
151
- format ! ( "file:// {}" , path. canonicalize( ) ?. to_string_lossy( ) )
151
+ format ! ( "file:{}" , path. canonicalize( ) ?. to_string_lossy( ) )
152
152
}
153
153
spin_manifest:: ApplicationOrigin :: Bindle { id, server } => {
154
154
format ! ( "bindle+{}?id={}" , server, id)
You can’t perform that action at this time.
0 commit comments