Skip to content

Commit

Permalink
add node:path to import statement in exportFile.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mrkarimoff committed Jan 24, 2024
1 parent c08453e commit 6de63fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/network-exporters/exportFile.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import fs from 'node:fs';
import path from 'path';
import { join } from 'node:path';
import { ExportError } from './errors/ExportError';
import { getFileExtension, makeFilename } from './utils/general';
import getFormatterClass from './utils/getFormatterClass';
Expand Down Expand Up @@ -56,7 +56,7 @@ const exportFile = (
extension,
);

const filePath = path.join(outDir, outputName);
const filePath = join(outDir, outputName);

const writeStream = fs.createWriteStream(filePath);

Expand Down

0 comments on commit 6de63fa

Please sign in to comment.