1
0
mirror of https://github.com/adobe/brackets.git synced 2024-11-20 09:53:00 +01:00

Merge pull request #15106 from niteskum/AssociateGraphicAfterGUIDGenerated

Graphics File Associate workflow should get triggered after UUID is generated
This commit is contained in:
Nitesh Kumar 2020-03-27 16:26:06 +05:30 committed by GitHub
commit ca877bb447
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,6 +72,13 @@ define(function (require, exports, module) {
return;
}
var userUuid = PreferencesManager.getViewState("UUID"),
olderUuid = PreferencesManager.getViewState("OlderUUID");
if(!(userUuid || olderUuid)) {
return;
}
_nodeDomain.exec("checkFileTypesInFolder", {
extensions: _graphicsFileTypes.join(),
folder: ProjectManager.getProjectRoot().fullPath,