We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22c2b5e commit 9fdbdd0Copy full SHA for 9fdbdd0
1 file changed
sourcemap/decoder.py
@@ -104,7 +104,7 @@ def decode(self, source):
104
# According to spec (https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit#heading=h.h7yy76c5il9v)
105
# A SouceMap may be prepended with ")]}'" to cause a Javascript error.
106
# If the file starts with that string, ignore the entire first line.
107
- if source[:3] == ')]}':
+ if source[:4] == ")]}'":
108
source = source.split('\n', 1)[1]
109
110
smap = json.loads(source)
0 commit comments