prefer_const_declarations on local variables (#14358)
This commit is contained in:
committed by
GitHub
parent
b0e17949aa
commit
841d5d7bd5
@@ -256,7 +256,7 @@ void addHtmlBaseToIndex() {
|
||||
}
|
||||
|
||||
void putRedirectInOldIndexLocation() {
|
||||
final String metaTag = '<meta http-equiv="refresh" content="0;URL=../index.html">';
|
||||
const String metaTag = '<meta http-equiv="refresh" content="0;URL=../index.html">';
|
||||
new File('$kDocRoot/flutter/index.html').writeAsStringSync(metaTag);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user