Skip to content

Commit 4f2a5f9

Browse files
authored
fix typo
1 parent 30daab3 commit 4f2a5f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const handler: MacroHandler = ({ references }) => {
3131
}
3232
}
3333
if (isFloat(concurrency)) {
34-
throw concurrencyPath.buildCodeFrameError('Only value is accepted here');
34+
throw concurrencyPath.buildCodeFrameError('Only integer value is accepted here');
3535
}
3636

3737
function validateFunctionPath(nodePath: NodePath<any>): nodePath is NodePath<FunctionExpression | ArrowFunctionExpression> {

0 commit comments

Comments
 (0)