Skip to content

Commit

Permalink
Update Boilerplate Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
xsn34kzx committed Sep 6, 2024
1 parent 614c93f commit 7e56c27
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions create-test-boilerplate.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import { fileURLToPath } from 'url';

/**
* This script creates a test boilerplate file for a move or ability.
* @param {string} type - The type of test to create. Either "move" or "ability".
* @param {string} type - The type of test to create. Either "move", "ability",
* or "item".
* @param {string} fileName - The name of the file to create.
* @example npm run create-test move tackle
*/
Expand All @@ -19,7 +20,7 @@ const type = args[0]; // "move" or "ability"
let fileName = args[1]; // The file name

if (!type || !fileName) {
console.error('Please provide both a type ("move" or "ability") and a file name.');
console.error('Please provide both a type ("move", "ability", or "item") and a file name.');
process.exit(1);
}

Expand Down

0 comments on commit 7e56c27

Please sign in to comment.