Skip to content

Commit

Permalink
fix: file writing when folder does not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
kometenstaub committed Apr 23, 2023
1 parent d50e508 commit 76836a5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/methods/methods-loc.ts
Expand Up @@ -62,9 +62,6 @@ export class SkosMethods {
if (!isDir) {
await adapter.mkdir(attachmentFolder);
}
})();
// prettier-ignore
(async () => {
jsonPrefPath = normalizePath(attachmentFolder + '/' + 'lcshSuggester.json');
jsonUriPath = normalizePath(attachmentFolder + '/' + 'lcshUriToPrefLabel.json');
jsonSubdivPath = normalizePath(attachmentFolder + '/' + 'lcshSubdivSuggester.json');
Expand Down

0 comments on commit 76836a5

Please sign in to comment.