Skip to content

Commit aa6d0fa

Browse files
committed
Update regular expression
1 parent 45ba08b commit aa6d0fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/scripts/postinstall

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ var DEST_DIR = path.resolve( ROOT_DIR, '..' );
4646
var OUTPUT_FILE = path.join( ROOT_DIR, '.postinstall.json' );
4747

4848
// Regular expression to detect whether this script is being executed after this package was installed as a node_modules dependency:
49-
var RE_SCRIPT_CONTEXT = /node_modules\/@stdlib\/stdlib/;
49+
var RE_SCRIPT_CONTEXT = /\/node_modules\/@stdlib\/stdlib\//;
5050

5151

5252
// MAIN //

0 commit comments

Comments
 (0)