mirror of https://github.com/Xaymar/obs-StreamFX
tools: Don't use resolved path unless necessary
This commit is contained in:
parent
d1ffa2c942
commit
a091b08259
|
@ -418,9 +418,9 @@ async function addCopyrights(path) {
|
|||
|
||||
let pathStat = await FSPROMISES.stat(path);
|
||||
if (pathStat.isDirectory()) {
|
||||
await addCopyrights(PATH.resolve(path));
|
||||
await addCopyrights(path);
|
||||
} else {
|
||||
await addCopyright(PATH.resolve(path));
|
||||
await addCopyright(path);
|
||||
}
|
||||
console.log("Done");
|
||||
})();
|
||||
|
|
Loading…
Reference in New Issue