summaryrefslogtreecommitdiff
path: root/scripts/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/index.js')
-rwxr-xr-xscripts/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/index.js b/scripts/index.js
index 9025e4781..7908b112c 100755
--- a/scripts/index.js
+++ b/scripts/index.js
@@ -5,12 +5,12 @@ export default async function run() {
case 'dev':
case 'build': {
const { default: build } = await import('./cmd/build.js');
- build(...args, cmd === 'dev' ? 'IS_DEV' : undefined);
+ await build(...args, cmd === 'dev' ? 'IS_DEV' : undefined);
break;
}
case 'copy': {
const { default: copy } = await import('./cmd/copy.js');
- copy(...args);
+ await copy(...args);
break;
}
}