Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #173 from jorix/3505-ignore-space-requires

Build: ignore trailing space in @requires dependencies
  • Loading branch information...
commit 745400fa742f772300b17203d67c8ec6eb740ce8 2 parents add094b + cd8fa55
@elemoine elemoine authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tools/mergejs.py
View
2  tools/mergejs.py
@@ -43,7 +43,7 @@
SUFFIX_JAVASCRIPT = ".js"
-RE_REQUIRE = "@requires?:? (.*)\n" # TODO: Ensure in comment?
+RE_REQUIRE = "@requires?:?\s+(\S*)\s*\n" # TODO: Ensure in comment?
class MissingImport(Exception):
"""Exception raised when a listed import is not found in the lib."""
Please sign in to comment.
Something went wrong with that request. Please try again.