File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change
1
+ - Fix an issue preventing Vite applications from being emulated on Windows. (#6411 )
1
2
- Addressed an issue preventing Astro applications from being deployed from Windows. (#5709 )
2
3
- Fixed an issue preventing Angular apps using ng-deploy from being emulated or deployed. (#6584 )
3
4
- Warn if a Web Framework is outside a well known version range on deploy/emulate. (#6562 )
4
5
- Use Web Framework's well known version range in ` firebase init hosting ` . (#6562 )
5
- - Limit Web Framework's generated Cloud Function name to 20 characters, fixing deploys for some. (#6260 )
6
+ - Limit Web Framework's generated Cloud Function name to 23 characters, fixing deploys for some. (#6260 )
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import { spawn } from "cross-spawn";
3
3
import { existsSync } from "fs" ;
4
4
import { copy , pathExists } from "fs-extra" ;
5
5
import { join } from "path" ;
6
+ import stripAnsi from "strip-ansi" ;
6
7
import { FrameworkType , SupportLevel } from "../interfaces" ;
7
8
import { promptOnce } from "../../prompt" ;
8
9
import {
@@ -105,7 +106,8 @@ export async function getDevModeHandle(dir: string) {
105
106
const serve = spawn ( cli , [ ] , { cwd : dir } ) ;
106
107
serve . stdout . on ( "data" , ( data : any ) => {
107
108
process . stdout . write ( data ) ;
108
- const match = data . toString ( ) . match ( / ( h t t p : \/ \/ .+ : \d + ) / ) ;
109
+ const dataWithoutAnsiCodes = stripAnsi ( data . toString ( ) ) ;
110
+ const match = dataWithoutAnsiCodes . match ( / ( h t t p : \/ \/ .+ : \d + ) / ) ;
109
111
if ( match ) resolve ( match [ 1 ] ) ;
110
112
} ) ;
111
113
serve . stderr . on ( "data" , ( data : any ) => {
You can’t perform that action at this time.
0 commit comments