mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1217851 - Fix mozplugin's import-headjs-globals on Windows. r=pbro
This commit is contained in:
parent
288855367c
commit
9552a0ce9f
@ -85,7 +85,7 @@ module.exports = function(context) {
|
||||
Program: function(node) {
|
||||
var pathAndFilename = this.getFilename();
|
||||
var processPath = process.cwd();
|
||||
var isTest = /.*\/browser_.+\.js$/.test(pathAndFilename);
|
||||
var isTest = /.*[\\/]browser_.+\.js$/.test(pathAndFilename);
|
||||
|
||||
if (!isTest) {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user