Skip to content

Commit

Permalink
Removing start/end quotes from start and end parameters on .nexss files.
Browse files Browse the repository at this point in the history
  • Loading branch information
mapoart committed Jun 17, 2020
1 parent b226d4f commit 5d95ec1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nexss-start/lib/nexssFileParser.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const minimist = require("minimist");
const { NEXSS_SPECIAL_CHAR } = require("../../config/defaults");

function stripEndQuotes(s) {
return s.replace && s.replace(/(^")|("$)/g, "");
return s.replace && s.replace(/(^["|'])|(["|']$)/g, "");
}

const nexssFileParser = (content, filename, nxsArgs) => {
Expand Down

0 comments on commit 5d95ec1

Please sign in to comment.