Skip to content

Commit 8029bb2

Browse files
committed
Switch require to import on main
1 parent a59f4e9 commit 8029bb2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/main.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
const simpleGit = require('simple-git/promise');
2-
const yamlParser = require('js-yaml');
3-
const path = require('path');
4-
const _ = require('lodash');
5-
const fs = require('fs');
6-
const validate = require('./validator');
1+
import simpleGit from 'simple-git/promise';
2+
import yamlParser from 'js-yaml';
3+
import path from 'path';
4+
import _ from 'lodash';
5+
import fs from 'fs';
6+
import validate from './validator';
77

88
const workingDir = 'tmp';
99

0 commit comments

Comments
 (0)