Skip to content

Commit

Permalink
Treat HtmlMetaRefresh relations the same way as HtmlAnchor in bin/* a…
Browse files Browse the repository at this point in the history
…s well.
  • Loading branch information
papandreou committed Sep 2, 2014
1 parent 63826ba commit 43310c8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bin/applyBabelJob
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ new AssetGraph({root: commandLineOptions.root})
.assumeThatAllHtmlFragmentAssetsWithoutIncomingRelationsAreNotTemplates()
.populate({
followRelations: {
type: AssetGraph.query.not('HtmlAnchor'),
type: AssetGraph.query.not(['HtmlAnchor', 'HtmlMetaRefresh']),
to: {url: AssetGraph.query.not(/^https?:/)}
}
})
Expand Down
2 changes: 1 addition & 1 deletion bin/checkLanguageKeys
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ new AssetGraph({root: rootUrl})
to: {type: 'I18n'}
},
{
type: query.not(['JavaScriptCommonJsRequire', 'HtmlAnchor', 'SvgAnchor', 'JavaScriptSourceMappingUrl', 'JavaScriptSourceUrl']),
type: query.not(['JavaScriptCommonJsRequire', 'HtmlAnchor', 'HtmlMetaRefresh', 'SvgAnchor', 'JavaScriptSourceMappingUrl', 'JavaScriptSourceUrl']),
to: {url: query.not(/^https?:/)}
}
)
Expand Down
2 changes: 1 addition & 1 deletion bin/copyReferencedAssets
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ var followRelationsQueryObj = query.or(
to: {type: 'I18n'}
},
{
type: query.not(['JavaScriptInclude', 'JavaScriptExtJsRequire', 'JavaScriptCommonJsRequire', 'HtmlAnchor']),
type: query.not(['JavaScriptInclude', 'JavaScriptExtJsRequire', 'JavaScriptCommonJsRequire', 'HtmlAnchor', 'HtmlMetaRefresh']),
to: {url: query.not(/^https?:/)}
}
);
Expand Down
2 changes: 1 addition & 1 deletion bin/makeBabelJob
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ new AssetGraph({root: commandLineOptions.root})
.fixBaseAssetsOfUnresolvedOutgoingRelationsFromHtmlFragments({isInitial: true})
.assumeThatAllHtmlFragmentAssetsWithoutIncomingRelationsAreNotTemplates()
.populate({
followRelations: {type: AssetGraph.query.not('HtmlAnchor'), to: {url: AssetGraph.query.not(/^https?:/)}}
followRelations: {type: AssetGraph.query.not(['HtmlAnchor', 'HtmlMetaRefresh']), to: {url: AssetGraph.query.not(/^https?:/)}}
})
.checkLanguageKeys({supportedLocaleIds: localeIds, defaultLocaleId: defaultLocaleId, ignore: 'missing'})
.queue(function exportLanguageKeys(assetGraph) {
Expand Down

0 comments on commit 43310c8

Please sign in to comment.