Skip to content

Commit

Permalink
fix: Field Sanitizer
Browse files Browse the repository at this point in the history
  • Loading branch information
jlenon7 committed Oct 28, 2021
1 parent 9c822f4 commit 445f88d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jlenon7/templating",
"version": "1.0.3",
"version": "1.0.4",
"description": "",
"license": "MIT",
"author": "João Lenon",
Expand Down
2 changes: 2 additions & 0 deletions src/FieldsSanitizer.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
export class FieldsSanitizer {
static validateAll(options: string[]) {
if (!options || !options.length) return

const json = {}

options.forEach(option => {
Expand Down

0 comments on commit 445f88d

Please sign in to comment.