private static void FixJavaScriptPragmas() { string[] paths = CollectBadFiles(); if (paths.Length != 0) { if (!InternalEditorUtility.inBatchMode) { PragmaFixingWindow.ShowWindow(paths); } else { FixFiles(paths); } } }
private static void FixJavaScriptPragmas() { string[] array = PragmaFixing30.CollectBadFiles(); if (array.Length != 0) { if (!InternalEditorUtility.inBatchMode) { PragmaFixingWindow.ShowWindow(array); } else { PragmaFixing30.FixFiles(array); } } }
static void FixJavaScriptPragmas() { string[] filesToFix = CollectBadFiles(); if (filesToFix.Length == 0) { return; } if (!InternalEditorUtility.inBatchMode) { PragmaFixingWindow.ShowWindow(filesToFix); } else { FixFiles(filesToFix); } }