

def get_script_contents(script_name):
    file_name = os.sep.join([generate_js_dir(), script_name])
    assert os.path.isfile(file_name), 'File {0} does not exist'.format(script_name)
    with open(file_name) as script_file:
        return script_file.read()

dataset/ETHPy150Open linkedin/mobster/src/linkedin/mobster/har/visualization/report.py get_script_contents/VarMisuse@41/66 `file_name`->`script_name`