Skip to content

Commit 712066f

Browse files
author
Chuck Dumont
authored
Merge pull request #267 from chuckdumont/work
Remove unneeded async keyword from buildLoader function
2 parents 817baff + e8f845c commit 712066f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
language: node_js
22

33
node_js:
4-
- '8'
4+
- '6'
55

66
env:
77
- WEBPACK_VERSION=V4 COVERALLS_PARALLEL=true

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ If you do not want to build the Dojo loader every time Webpack is run, then you
335335

336336
node node_modules/dojo-webpack-plugin/buildDojo/build.js node_modules/dojo/dojo.js ./release
337337

338-
You can also build the loader from a Node script as shown below. Note that `buildLoader` is declared `async` and so can also be called with `await`.
338+
You can also build the loader from a Node script as shown below.
339339

340340
```javascript
341341
const buildLoader = require('dojo-webpack-loader').buildLoader;

buildDojo/buildapi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const fork = require("child_process").fork;
2424
* featureOverrides - Overrides to ./loaderDefaultFeatures.js
2525
* noConsole - True to suppress stdout from the builder
2626
*/
27-
async function buildLoader(params) {
27+
function buildLoader(params) {
2828
const ls = fork(
2929
path.resolve(__dirname, "buildRunner.js"),
3030
[

0 commit comments

Comments
 (0)