Skip to content

Commit 4ee4d8d

Browse files
committed
- Fixed typescript upgrade
1 parent 5c0a07f commit 4ee4d8d

File tree

3 files changed

+127
-129
lines changed

3 files changed

+127
-129
lines changed

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,12 @@
6161
"codecov": "codecov --token=66c30c23-8954-4892-bef9-fbaed0a2e42b"
6262
},
6363
"dependencies": {
64-
"camelcase": "6.2.0",
65-
"commander": "6.2.0",
66-
"handlebars": "4.7.6",
67-
"js-yaml": "3.14.0",
68-
"mkdirp": "1.0.4",
69-
"rimraf": "3.0.2"
64+
"camelcase": "^6.2.0",
65+
"commander": "^6.2.0",
66+
"handlebars": "^4.7.6",
67+
"js-yaml": "^3.14.0",
68+
"mkdirp": "^1.0.4",
69+
"rimraf": "^3.0.2"
7070
},
7171
"devDependencies": {
7272
"@babel/cli": "7.12.7",

src/utils/fileSystem.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export const exists = promisify(__exists);
1313
export const mkdir = mkdirp;
1414

1515
// Promisified version of rimraf
16-
export const rmdir = (path: string) =>
16+
export const rmdir = (path: string): Promise<void> =>
1717
new Promise((resolve, reject) => {
1818
rimraf(path, (error: Error) => {
1919
if (error) {

0 commit comments

Comments
 (0)