There is an addExtension, but that conditionally adds the extension if one does not exist... But replaceExtension will just replace anything that already there or add it one does not exist. This will be useful for the transformation pipeline in bit-loader
There is an
addExtension
, but that conditionally adds the extension if one does not exist... ButreplaceExtension
will just replace anything that already there or add it one does not exist. This will be useful for the transformation pipeline in bit-loader/cc @Mark-Simulacrum