as-test 0.5.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Change Log
2
2
 
3
+ ## 2026-02-16 - v0.5.1
4
+
5
+ ### Miscellaneous
6
+
7
+ - fix: init script exited when selecting 'y'
8
+
3
9
  ## 2026-02-16 - v0.5.0
4
10
 
5
11
  ### CLI & Runtime
package/bin/init.js CHANGED
@@ -23,7 +23,7 @@ export async function init(rawArgs) {
23
23
  printPlan(root, target, example);
24
24
  if (!options.yes) {
25
25
  const cont = (await ask("Continue? [Y/n] ", rl)).toLowerCase().trim();
26
- if (["y", "yes"].includes(cont)) {
26
+ if (["n", "no"].includes(cont)) {
27
27
  console.log("Exiting.");
28
28
  return;
29
29
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "as-test",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "Testing framework for AssemblyScript. Compatible with WASI or Bindings",
5
5
  "types": "assembly/index.ts",
6
6
  "author": "Jairus Tanaka",