Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
add ".dsc" file extension (D2 backport)
  • Loading branch information
mcmonkey4eva committed May 8, 2019
1 parent f50a7fb commit d51ba3e
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -213,7 +213,11 @@ public boolean accept(File file, String fileName) {
}

String ext = fileName.substring(fileName.lastIndexOf('.') + 1);
return ext.equalsIgnoreCase("YML") || ext.equalsIgnoreCase("DSCRIPT");
if (ext.equalsIgnoreCase("DSCRIPT")) {
dB.echoError("'.dscript' extension has never been officially supported. Please use '.dsc'. Regarding file " + fileName);
return true;
}
return ext.equalsIgnoreCase("YML") || ext.equalsIgnoreCase("DSC");
}
};
}
Expand Down

0 comments on commit d51ba3e

Please sign in to comment.