"vscode:/vscode.git/clone" did not exist on "c03c0dfd230a5174c536a58d6ba5e590ed1afcc4"
license_stamper: Update hasKeySequence() to limit lines searched
Since there's no point to check for a licence twice, just break after we find the key_messag we're looking for otherwise break at some predetermined line limit. Saves us from having to drudge through all of a file. A license should be at the top of a file so anything more than 10 lines past the beginning of the file (since we're also stamping .ipynb files) should be sufficient
Showing
Please register or sign in to comment