Merge branch 'master' into dev

This commit is contained in:
Nick O'Leary
2021-10-06 09:12:16 +01:00
7 changed files with 17 additions and 10 deletions

View File

@@ -14,7 +14,7 @@
* limitations under the License.
**/
var fs = require('fs-extra');
var fs = require('fs');
var fspath = require('path');
var runtime;
@@ -25,7 +25,7 @@ var exampleFlows = null;
async function getFlowsFromPath(path) {
var result = {};
var validFiles = [];
return fs.readdir(path).then(files => {
return fs.promises.readdir(path).then(files => {
var promises = [];
if (files) {
files.forEach(function(file) {