File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -200,11 +200,10 @@ export class WebpackCompilerService extends EventEmitter implements IWebpackComp
200
200
201
201
private buildEnvCommandLineParams ( envData : any , platformData : IPlatformData , prepareData : IPrepareData ) {
202
202
const envFlagNames = Object . keys ( envData ) ;
203
- const shouldSnapshot = prepareData . release && ! this . $hostInfo . isWindows && this . $mobileHelper . isAndroidPlatform ( platformData . normalizedPlatformName ) ;
204
- if ( envData && envData . snapshot && ! shouldSnapshot ) {
203
+ const canSnapshot = prepareData . release && this . $mobileHelper . isAndroidPlatform ( platformData . normalizedPlatformName ) ;
204
+ if ( envData && envData . snapshot && ! canSnapshot ) {
205
205
this . $logger . warn ( "Stripping the snapshot flag. " +
206
- "Bear in mind that snapshot is only available in release builds and " +
207
- "is NOT available on Windows systems." ) ;
206
+ "Bear in mind that snapshot is only available in Android release builds." ) ;
208
207
envFlagNames . splice ( envFlagNames . indexOf ( "snapshot" ) , 1 ) ;
209
208
}
210
209
You can’t perform that action at this time.
0 commit comments