Commit 945cfe6
authored
[BUG] Plugin helpers fix related to fs promises module (#2486)
In Node v10, there was no dedicated module for fs/promises.
Causing the plugin helpers to fail while building out plugins.
Solved by importing promises from fs then using the desired
methods.
Issue Resolved:
#2485
Signed-off-by: Kawika Avilla <kavilla414@gmail.com>1 parent 04ff11c commit 945cfe6
File tree
2 files changed
+5
-1
lines changed- packages/osd-plugin-helpers/src/tasks
2 files changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
| |||
0 commit comments