Skip to content

Commit

Permalink
refactor: to ESM
Browse files Browse the repository at this point in the history
  • Loading branch information
adantoscano committed Oct 3, 2023
1 parent 321db7e commit e2d93e3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/services/clone-git-repository.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
// - tests
// - doc

const { execSync } = require("child_process");
const fs = require("fs");
const path = require("path");
const readline = require("readline");
const process = require("process");
import { execSync } from 'child_process';
import * as fs from 'fs';
import path from 'path';
import * as readline from 'readline';
import process from 'process';

const TEMP_FOLDER_NAME = ".api-mock-runner"; // TODO: extract to configuration file?

Expand Down Expand Up @@ -59,4 +59,4 @@ async function waitUserInput() {
);
}

module.exports = cloneSchemaRepo;
export default cloneSchemaRepo;

0 comments on commit e2d93e3

Please sign in to comment.