Bug 995310 - Only create metro folder in metro environment. r=Yoric

This commit is contained in:
Marina Samuel 2014-05-30 09:45:41 -04:00
parent 68ad33b4bc
commit ab58b8f2fa

View File

@ -171,7 +171,9 @@ this.CrashMonitor = {
);
CrashMonitorInternal.initialized = true;
OS.File.makeDir(OS.Path.join(OS.Constants.Path.profileDir, "metro"));
if (Services.metro && Services.metro.immersive) {
OS.File.makeDir(OS.Path.join(OS.Constants.Path.profileDir, "metro"));
}
return promise;
},