Skip to content

Commit 237b42a

Browse files
committed
Change requires to import
1 parent 063ed2b commit 237b42a

File tree

4 files changed

+8
-12
lines changed

4 files changed

+8
-12
lines changed

condaParser.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
const core = require('@actions/core');
2-
const github = require('@actions/github');
3-
const glob = require('glob');
4-
const yaml = require('yaml');
5-
1+
import * as core from '@actions/core';
2+
import * as yaml from 'yaml';
3+
import * as glob from 'glob';
64
import * as fs from 'fs';
75

86
import {
@@ -13,7 +11,6 @@ import {
1311
Manifest,
1412
submitSnapshot
1513
} from '@github/dependency-submission-toolkit'
16-
import { YAMLMap } from 'yaml';
1714

1815
export default class CondaParser {
1916

dist/condaParser.d.ts

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js

Lines changed: 3 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)